Markup structure
One of the casualties of 20th century tag soup was the structure of an HTML document. Since the default look of many HTML elements like headings, lists and paragraphs was not what designers wanted, and browser support for styling these elements with CSS was lousy, many people chose to remove them from their markup.
Now that browsers have matured and have good support for styling basic HTML elements, many people still don’t use the available, proper markup. I guess it’s because structure has been forgotten. The only thing that counts to some is how the result looks. That is why the web is full of code like <span class=”headerstyle1”>this is my header</span> and <span class=”boldtext”>this is bold</span>.
Some great resources for refreshing your knowledge of basic XHTML are:
- Semantics, HTML, XHTML, and Structure by Shirley E. Kaiser
- Standards-compliant XHTML: Introduction to eXtensible HyperText Markup Language (XHTML) by Dave Rau
- Previous post: Standards, semantics and old habits
- Next post: Restructuring in progress
Information, sponsorship, and externals
About the author
Roger Johansson is a Swedish web professional specialising in web standards, accessibility, and usability. More about me and this site.
Latest articles
- Validation statistics from Nikita the Spider Comments off
- An analysis of the sites crawled by the bulk validation tool Nikita the Spider during March 2008.
- Authentic Jobs API and Affiliates program Comments off
- The Authentic Jobs job listing service now has a public API and an affiliate program.
- What does Acid3 mean to you and me? Comments off
- Opera and Apple have announced that their web browsers pass the Acid3 Browser Test, but how will that help web designers and developers?
- Designing Web Navigation (Book review) Comments off
- Learn the fundamentals of navigation design and design better navigation systems for large and small sites as well as for web based applications.
- DOMAssistant bundle for TextMate Comments off
- To save keystrokes and speed up development I have created a DOMAssistant bundle for TextMate.
- First impressions of Internet Explorer 8 Beta 1 Comments off
- My impressions after trying out Internet Explorer 8 Beta 1 for a couple of days.









Sorry, comments are closed for this post.