There has been a major movement in the adoption of web standards over the past 5 years: semantic coding. I had it explained to me many times when I was in college, but it seemed a bit tiresome and boring at the time and nobody was really enforcing it, not in the workplace and not in school. Now, many years later, the topic has resurfaced again due to new search engine guidelines. It also just makes plain sense.
1. <h1> tags are for headings and not just for ginormous text. They represent an important element on the page. It’s heads up for what’s coming next in the copy – <h1>Semantic Coding<h1>
2. <ul> tag is actually for an unordered list. Use this to describe what kind of list you are about to write.
3. The <li> tag should be used for your lists. You can always style out the bullet image, but use this correctly. I have seen the lines of copy simply broken by hundreds of <br /> tags which should only be used when all else fails for a list.
4. Finally, <FONT> tags are like so yesterday – especially capitalized. Don’t use them.
Semantic markup is not only meaningful to developers, but also to the internet world at large. HTML is defines the presentation of data whereas HTML written semantically suggests what the data is actually about.. Google, Yahoo, Live and others will look at your headlines and think, “oh yeah, that is a true h1 headline…it is important”. Speech browsers will see that something is wrapped in an em tag and will dutifully emphasize it.
Other Uses