Skip to content
 

An Example of Good vs. Bad HTML

While working on my employer’s web site, I found a document that was built with really ugly HTML. I cleaned up the HTML, used [H1] and [H2] instead of [font size+2][b] and I am really pleased with the resulting pages. The old page had 15,397 characters. The new page has 14,784 characters. Granted that is only 613 characters, but the page is structurally more sound (for example, the table has table header tags now, so the columns make sense logically; sections are broken down into Headings levels), so it should render more nicely on alternate web browsers (phones, PDAs, etc.).