NERD free explantion of Doc type importance required

It is used to provide guidance to the browser on what rules to follow in interpreting the rest of the document.

Whilst there is an organisation that establishes standard guidelines (syntax rules if you like) from time to time these are often open to interpretation.

Further more to reflect the evolution of the use of the web and the introduction of newer technologies new versions of the guidelines are issued from time to time and these usually try to resolve historical misunderstandings.

As the earlier development of the popular web browsers was something of a feature war, there are "features" in some of the more established browsers that address backwards compatibility so specific document standard references can trigger very different behaviours.

Ok?

Stuart
 
Upvote 0
Ok, I'll have a go, switching to non-techno babble mode...

Doctype can be used to indicate to the browser which rules to apply when "drawing" a web page.

If you don't specify one, it will use a default set of rules to "draw" the page, which often contains bugs or issues.

Oh and also, using a Doctype can mean that disabled people are more able to access your page, increasing your audience and sales margins.

Was that ok? (forgive the sweeping generalisations folks).
 
Upvote 0

Latest Articles