0
Difference between header and title and h1, h2etc, h3 etc...
Just like the tittle says, whats the difference? What's the point of the header inside the body if h1 will do the samething?...and I'm guessing the tittle tag is what makes the tab in the browsers display the name of the page right?
2 odpowiedzi
+ 3
Correct about the Title! It does display the name you want in the browser tab. However, the header tag is a fairly new html tag that is used to section off the document. You would put all the stuff you want in a header (nav, search bar, login, ect..) in this section, it just makes it easier in css to style. As for the different heading tags (h1, h2, h3...) those all have default sizes that html will create them in, but you use those for heading in your document, and mostly use create your own styling for each one in css if needed. This was all from my understanding of html. Sorry if i missed something or gave false information.
+ 3
title is used to show the webpage name in browser tab.
header is new tag introduced in HTML5 which is for the data we want to show at the top of webpage.
h1 h2...h6 are h heading tags which are used to give headings.