Search billions of records on Ancestry.com
   

HTML made Simple - !DOCTYPE Statement

The very first thing required of a webpage is the !DOCTYPE statement.
It is the computer's instruction for proper display.
There are only a few to choose from and are dependent upon the intent of the document
as well as the html version used. The versions consist of distinct rules applied to the markup.
The following applies to the latest rules as defined by the World Wide Web Consortium while allowing
previous versions to still be used. One should take care to note that certain markup has been deprecated
in favor of newer improved methods. Should we choose to utilize the internet,
we should also choose to be responsible for our contents we post out there.
Most of us while driving a car also follow the rules applied to doing so.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

The following is an example of strict rules applying to the markup.
Use of this !DOCTYPE requires very clean and uncluttered coding and produces very nice webpages.
However, it is very unforgiving!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

This next example is for using frames within a webpage.
I personally don't use frames and therefore know little about them.
However, the w3c can give you all the scoop on them, why not give them a visit?
Warning: Their site can be quite overwhelming! If it has anything to do with the internet,
They have their fingers in it. However, I strongly recommend gleaning their knowledge base.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

One other thing about !DOCTYPE. Just inside the first quote mark, notice a dash ( - ) before the //.
This dash is reserved for the user to input company, corporate, or personal identification.
It is restricted to three characters. I personally use my trademark (ctf).

In consideration of the multitudes still using 800x600 resolution monitors,
I have defined my body width and height accordingly. I have included a ridged border
denoting the size of their screen and what will be displayed on their monitor without scrollbars.

For further information about the construction of this webpage,
View the page Source from your Internet Explorer browser's menu.
View the Page Source from your Mozilla Firefox browser's menu.

Another site I frequent to check on html tags and css rules is htmlref.

Thank You for visiting ctheflAme.

Coming Soon! - "So, you want to know more about Cascading Style Sheets?