Home arrow Read Articles arrow SEO arrow SEO Canada Internet Marketing
Latest Articles
Popular Articles
Web Links
Articles
Left-handed Ascorbic Acid (L-ascorbic acid) is the most important part of vitamin C which is good for skin because it ...  Full article...

What do we even mean by personal success? Hopefully you don't think it is all about appearing successful to others in order ...  Full article...

 
Search


Related Items

SEO Canada Internet Marketing PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Merilin   
Tuesday, 08 January 2008
Word Count: 553

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, there’s a corresponding DTD. By now you may be asking, “But what’s 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 you’re using by including what’s 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 you’re 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 that’s missing the correct doctype, then it thinks “Gee, this page must have been written a long time ago, in an HTML editor far, far away. I’ll pretend I’m a really old browser and display the page just as one of those buggy old browsers would display it.” That’s 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, it’s easy to get the doctype correct. All you need to know is what version of HTML you’re using. In all likelihood, you’re 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 it’s 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 don’t 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.

 
< Prev   Next >

Main Menu
Home
Read Articles
Blog
Search
FAQs
Links
News
News Feeds
Contact Us
Site Information
Article Index
eBooks / Scripts
Privacy Policy
Authors
Guidelines
Author Terms
Author Help
General
Link to Webraydian Publishing - Article Submission Directory
8,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 20058,943,194 [Joomla reported] visitors to Webraydian since Dec. 08, 2005
 
Login Form





Lost Password?
No account yet? Register
Featured Offer
Featured LInks
 
© Copyright 2003 - 2009 Webraydian's Article Directory.. Designed by Webraydian Publishing