HTMLCheckList - Check Your HTML.

Archive for the ‘Structure’ Category

Structure

Thursday, August 9th, 2007
  • Use title, description and keywords in header.
  • All elements with closing tags must have it (ideally, use XHTML 1.0 Transitional/Strict).
  • Use alt attribute for <image>. If image don’t have semantic meaning, alt must be empty.
  • Use comments before main blocks.
  • Use standard tags for creating text structure (<h1>-<h4>, <p>, <ul>, <il>, <li> and so one).
  • Vertical and Horizontal menus must be defined using <li>.
  • Don’t use <b> and <i>. Use <strong> and <em>.
  • Blocks must be placed in document in the descending order of importance. Blocks location can be defined using CSS.