10 HTML Crimes You Really Shouldn’t Commit

You best watch out, because the HTML police are about. They scour your code and pick out the most unspeakable crimes against HTML markup.

The writer lists ten of the most common coding mistakes and how to correct them. They include:

  1. Placing Block Elements Inside Inline Element
  2. Not Including an ALT Attribute on Images
  3. Not Using Lists When Necessary
  4. Using <b> and <i> for Bolding and Italicizing
  5. Using Too Many Line Breaks
  6. Using The Wrong Strikethrough Tags
  7. Using Inline Styling
  8. Adding or Removing Borders in HTML
  9. Not Using Header Tags
  10. The Unspeakable Use of <blink> or <marquee>

How does your code measure up? With Spring here, is it time to do some “Spring cleaning” of your code? You can read 10 HTML Crimes You Really Shouldn’t Commit for the solutions.

This entry was posted in Website Design Tips & Tutorials. Bookmark the permalink.

One Response to 10 HTML Crimes You Really Shouldn’t Commit

  1. Deason Hunt says:

    And who are the “HTML police” and who appointed them as “police”?

Leave a Reply

Your email address will not be published. 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>