New answers tagged

1

The H1 tag for logo is a valid option only if you want to make the logo of some text otherwise you can simply change the css and seperate the h1 tag from it and put DIV tag in it so the alignment is not hampered. for example: <div class="logo-collapse"> <a href="https://example.com/" title="My Brand Name" class="logo"> <img ...


0

Your logo doesn't need to be nested in a heading -- a simple linked image in the header is enough. But both your site title and page/article title should be <h1>. This article is informative: The Truth About Multiple H1 Tags in the HTML5 Era.



Top 50 recent answers are included