SEO - HTML Blog - Tutorial

We will from time to time attempt to include information we have found to be useful as a guide to Search Engine Optimization, beginning with basic HTML principals.

 

 

Tuesday, November 01, 2005

Best Practices in HTML Design

We have so far established that during the planning stages of any professional or commercial website, both user interaction and search engine compatibility must be considered. Proper code will not only streamline the flow of customers and viewers, but it will leave them with a fantastic impression of the website, free of errors and irritations. Similarly, search engine spiders will be met with validated, concise code which can be quickly parsed and indexed properly. Not only can this potentially increase a website's ranking among search engine results, but it allows the search engine to effectively detect relationships between various pages within a business website, and provide these related pages as additional results, further increasing exposure.

Initially, we will concentrate on four "best practices" we recommend for proper optimized code.

  1. W3C Validated Code (we have touched upon this before, and we will again.)
  2. Proper incorporation of scripts and external programs.
  3. Effective use of stylesheets (CSS)
  4. Proper insertion of metadata in the form of META tags.
Each of these topics will be covered in a dedicated blog post, but in the meantime, we recommend designers adhere to a set of general coding practices which ease a lot of hardship when attempting to validate code:
  • Always close any HTML tags you open. There are few exceptions.
  • Know the default attribute values; get into the habit of assigning values to each attribute, in case defaults are different between browsers and platforms.
  • Use lowercase EVERYWHERE.
  • Set up an intuitive and expandable file system, and only use A-Z, a-z, and 0-9 (and underscores) in your filenames. File systems can become bogged down quickly, and an organized hierarchy is invaluable down the line.
  • Keep accessibility in mind, for people with disabilities or limitations on their browsing. (We shall touch upon this later)
  • Never automatically trust code that you didn't type out yourself. (Dreamweaver and Frontpage, for instance)
Stick to these guidelines and validation will become almost automatic. Detail will be provided in future blog posts, as to how to properly make the most of these various practices.

 

 

 

 

 

 

toronto web services
25 dunblaine avenue
toronto, ontario canada
m5m 2r6

416 826 0660.tel

info@torontowebservices.com