Most modern web developers dig into HTML tags as they create web pages. If you have been writing HTML for a while, then you are used to using a variety of standard tags ranging from and to
. Over time, however, the best tags used to obtain the most value from your HTML have changed. Indeed, HTML has evolved from being just simple markup to something that is more semantic in nature.
By evolving to a more semantic paradigm, HTML markup not only indicates to a browser how to display the content of your web page, but it can also present the context of your markup. This context can be used to get more value from the content, whether in your own programs or by third parties, including the search engines.
How to Modernize HTML
So, what are a few of the key things in HTML that you should be using today to get the most semantic value? In the following web development tutorial, I will present 10 HTML tags that can help give your pages much more meaning.
Expanding to Include Header, Footer, and Main Sections
While you have a body in your HTML document identified with a tag, web developers should (or could) also have header, footer, and main sections. Each of these help to organize the overall content within your HTML document.
The
tag is not the same thing as the tag. The tag comes before the tag and generally includes metadata that is not displayed. While it can contain other tags (including scripting), it is outside of the main HTML document’s tag.
The
tag is placed within the tag. It should be used instead of a
or other tag to contain the introductory content and navigational links presented in the current HTML document. This can include headings, a logo or icon for the page, and other information. Here is an example use of a header tag: