It is important to use HTML Headings Properly

HTML Formatting SizesExample of relative sizes found in HTML headings

When you are formatting your web page, you need to create structure with tags like headings, paragraphs, blockquotes, and divs.

When I teach new web design students, I usually have one nay sayer who says that the order of heading tags does not matter. Not so! Just like when you are creating a hierarchical list, you don’t mess with the expected order of items and how they are nested with each other.

It is important that you use ONE heading 1 tag (h1) in each page and it should be at the top of your content. You can certainly restyle the look of your headings, but I would not advise making your h1 any smaller than any other text. Give a cue to your students about your content title with that heading 1.

Use heading 2 tags to create titles within the page, and use heading 3 tags as subtitles. You use the heading tags to indicate page structure to your readers and to the thousands of spiders crawling your web site (like Google).

Use a paragraph as a normal text container. Once again, it is important to wrap all elements in a web page with structural body tags, like div p, heading tags, blockquote, lists, etc.

This entry was posted in Technology, Web Design, Web Design Best Practices and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">