eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 

Your Online Guide » Guide to Technology » Web Site Development

HTML Checklist: Check Your HTML
by Vadim Nareyko, Vad
* Do not use element

* Move arrangement attributes (align, valign, width, height) to CSS.

* Do not use tables except showing table data. Using tables for visual formatting is acceptable in complex situations only. Max table nesting can not be great than 3.

* Move attribute "background" to CSS.

* Design of input fields and buttons must be written as class in CSS.

* Style table must be written as external file and linked using

* All images related to design (not content) move to block with style {background: transparent url("gif") no-repeat;}

HTML code

* If table cell contains only image with width and height, then don't use these attributes for cell.

* Use minimum cols and rows for tables.

* All elements must have "width" and "height" attributes.

* All elements, which are not links, don't have "border" attribute.

* All attributes values must be placed in double quotes.

* All tags and attributes names must be in low case.

CSS code

* Unique elements must have "id" attribute, which is used for style. Repeated elements must use classes.

* Determine Links style through styles of (td {}, td a {}, td a:hover {}). a:hover must redefine only changed atttributes.

* Determine background color for

* Split declarations to groups (fonts, tables, text blocks, divs)

* Determine geometrical dimensions in percents or pixels.

* All colors values must be as short as possible and in high case (#FFF instead of #ffffff).

* All tags and attributes names must be in low case.

* All margins and indents must be defined for all browsers.

* All classes and identifiers must be named logically with one naming convention.

Structure

* 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 . If image don't have semantic meaning, alt must be empty.

* Use comments before main blocks.

* Use standard tags for creating text structure (

-

, <,
    , ,
  • and so one).

    * Vertical and Horizontal menus must be defined using
  • .

    * Don't use and . Use and .

    * Blocks must be placed in document in the descending order of importance. Blocks location can be defined using CSS.

Vadim Nareyko has sinced written about articles on various topics from web development. You can discuss and improve this document at Vadim Nareyko, CEO o. Vadim Nareyko's top article . to your Favourites.
EditorialToday Guide to Technology has 3 sub sections. Such as Technology, Increase Adsense Revenue and Information & Technology. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors