3 ms·
Heading (h1) should not be qualified. Yes it should, especially if you are using HTML 5 and are using different heading sizes for different parts of your site.
by calloc 15y ago
Heading (h1) should not be qualified.
Yes it should, especially if you are using HTML 5 and are using different heading sizes for different parts of your site... Otherwise an h1 in a header (tag) would look the same size as a h1 in an article (tag).
- nirvdrum 15y agoI could be mistaken, but I think the idea is you only have one h1 per page. If you use an h1 in different contexts on different pages, the rules for those pages should probably be in different stylesheets as well, obviating the need to qualify them.
- calloc 15y agoIn HTML 5 you can use the h1 element multiple times. For example, lets say you are writing an article article h1 h2 That is perfectly valid, now lets say you have an header that gets added before each article that contains some information such as author, time created/published header timedate h1 Article Title author article h1 h2 This is valid HTML 5.
- treyp 15y agoIn HTML5, not only is it valid, but doing otherwise would break the document outline.