What is the correct method to use header tags?
Hello,
As I am a website developer I would like to recommend going through web designing articles and a tutorial, in fact one of the best tutorials that I have learnt from is http://www.simplewebsitetutorials.com. They offer useful knowledge of how to create our own website and then launching it effectively in the market. I’ve always use <h1> tag for the title or main heading and <h2> tag for subheadings. Go through the website that is mentioned and I am sure you will find answers to your questions.
Hi Carry,
A header tag is used to describe the web page to the web browser and search engines. Typically you will find a header tag inside of an article tag (used to tell the search engine this is the main content of the web page).
Check out this example straight from w3schools.com:
<article>
<header>
<h1>Most important heading here</h1>
<h3>Less important heading here</h3>
<p>Some additional information here</p>
</header>
<p>Lorem Ipsum dolor set amet….</p>
</article>
I hope that helps.