+ 2

Compare <footer> with <nav>.

I don't know, how they work exactly. ⚫Can you explain them .😊 1- What are these tags outputs? 2- Where should we use <footer>? 3- Where should we use <nav> ? Thanks for attention.💖

24th Aug 2020, 5:09 PM
Deleted Account
Deleted Account - avatar
4 Answers
+ 4
As their name tells what they do. <footer> is basically to make footer of the website. All the HTML of the footer code should be written inside this tag. Footer is basically contain contact us page, privacy policy, terms of use and copyright etc. <nav> is basically to create navbar. Navbar HTML code should be written inside this tag. Navbar is basically all navigation links like home page link, about us page, and other page links of your website. These tags are more useful in point of SEO.
24th Aug 2020, 5:13 PM
Maninder $ingh
Maninder $ingh - avatar
+ 3
<footer> is the footer of the page or of a <section> in the page. It should be the last tag in the page or section it refers to. It may be given a role attribute, role="contentinfo", if it is the main footer of the page. <nav> is a group of related links in a page. These links will likely be <a> tags. If there are more than 1 <nav> in a page, the main <nav> should have a role attribute — role="navigation" https://www.sololearn.com/learn/HTML/2199/ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
24th Aug 2020, 5:19 PM
Ore
Ore - avatar
+ 2
SEO
24th Aug 2020, 5:10 PM
Gordon
Gordon - avatar
+ 1
I should a lot of time for searching to find these . I don't have enough time.
24th Aug 2020, 5:12 PM
Deleted Account
Deleted Account - avatar