Viewing h1, h2, etc

h1, h2, etc



User: James G. 11 years ago
I have been getting up to speed about h1 tags and feel comfortable doing it. My question, which I haven't found an answer to yet is this - If a page is all images, should a h1 tag be used? If so, what type of thing should it say?
User: Roddy 11 years ago
h1 is used for the website name only - unless you are using HTML5 layout elements which allow you to use it in every one. See this page for more info…
http://everwebcodebox.com/html5/index.html

h1 to h6 headings are used to give web page content a hierarchy…

http://everwebcodebox.com/layout/headings.html

WIth HTML5, these are mostly redundant and you should only have to consider h1 to h3.

Quote:
If a page is all images, should a h1 tag be used? If so, what type of thing should it say?


If a page is all images then you would have the page name which normally uses h2. If you have a page which is all images dragged in, there's really not much point in publishing it. The search engine spiders will just "see" a blank page and the images will only be appreciated by those who can't read. There is no point in including an image on a web page unless it has alt text and a caption at least.

The HTML5 figure element gives us everything we need to insert images in a way that benefits both the spiders and the surfers…

http://everwebcodebox.com/html5/html5-image/figure.html

All the HTML5 widgets also conditionally insert the HTML5Shiv to support outdated browsers so there's no reason not to use use them if you actually want your website to be indexed properly by the search engines.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.