Web Building - Web Site Development Tips
Friday, 21 November 2008
Friday, 21 November 2008 | Web Building - Web Site Development Tips
Home arrow SEO arrow SEO Canada Internet Marketing
Main Menu
Home
Affiliate Programs
Blogs
Internet Service Providers
Link Building
RSS Feeds
Search Engines
SEO
Site Promotion
Web Design
Web Development
Web Domains
Web Hosting
Web Traffic
Articles
Links
Contact Us
Random SEO Articles
SEO Canada Internet Marketing
For all websites to receive traffic it is a must to go in for SEO Canada Internet Marketing Canada is become very popular with all website owners that expect quality visitors and sales from their website. It is also important to have a search engine friendly and user friendly websites. Know more about search engine friendly design read further.

The importance of the Doctype

HTML follows certain rules-these rules are contained in a Document Type definition file, otherwise known as a DTD. A DTD is an XML document that explains what tags, attributes, and values are valid for a particular type of HTML. And for each version of HTML, theres a corresponding DTD. By now you may be asking, But whats all this got to do with CSS?

Everything, if you want your Web design search engine optimization to appear correctly and consistently in Web browsers. You tell a Web browser which version of HTML or XHTML youre using by including whats called a doctype declaration at the beginning of a Web page. This doctype declaration is the first line in the HTML file and not only defines what version of HTML youre using but also points to the appropriate DTD file out on the Web. When you mistype the doctype declaration, you can throw most browsers into an altered state called quirks mode.

Quirks mode is browser manufacturers attempts to make their software behave like browsers did circa 1999. If a modern browser encounters a page thats missing the correct doctype, then it thinks Gee, this page must have been mwritten a long time ago, in an HTML editor far, far away. Ill pretend Im a really old browser and display the page just as one of those buggy old browsers would display it. Thats why, without a correct doctype, your lovingly CSS-styled Web page may not look as they should, according to current standards. If you unwittingly view your Web page in quirks mode when checking it in a browser, you may end up trying to fix display problems that are related to an incorrect doctype and not the incorrect use of HTML or CSS.
Fortunately, its easy to get the doctype correct. All you need to know is what version of HTML youre using. In all likelihood, youre already creating Web pages using HTML 4. You may even have started using XHTML for your Web sites.

The most popular versions of HTML and XHTML these days are HTML 4.01 Transitional and XHTML 1.0 Transitional. These types of HTML still let you use presentational tags like the font tag, thereby providing a transition from older HTML to the newer, stricter type of HTML and XHTML. Although its best not to use these tags at all, they still work in the Transitional versions, so you can phase out these older tags at your own pace. In the strict versions of HTML and XHTML, some older tags dont work at all.

If this entire discussion is making your head ache and your eyes slowly shut, just make sure you use the proper doctype listed above, and always make it the first line of your HTML file. If you want a basic template to use when building either HTML or XHTML pages.

About Author

Merilin Hooposhy is an Experienced SEO and Internet marketing Expert Currently with SEO Canada Company Sempro. Search engine optimization Canada Firm. Internet Marketing Canada is necessary for all websites that expect good traffic

Source: ArticleTrader.com
Read more at: http://www.articletrader.com/internet/seo/seo-canada-internet-marketing.html.
 
< Prev   Next >
Go to top of page Go to top of page
 
Relevant Link Partners
website building, web development
Search Engine Optimisation
Higher results in the search engines are what you can expect from targeted search engine optimisation services.
Web Submissions
Do you have a web building or web development article you'd like to submit to our website? If so, please send your web development article to This email address is being protected from spam bots, you need Javascript enabled to view it .
| Home | Affiliate Programs | Blogs | Internet Service Providers | Link Building | RSS Feeds | Search Engines | SEO | Site Promotion | Web Design | Web Development | Web Domains | Web Hosting | Web Traffic | Articles | Links | Contact Us |