Thread: html advice
View Single Post
  #4 (permalink)  
Old 04-27-2008, 10:23 AM
James's Avatar
James James is offline
Supreme Babbler
 
Join Date: Dec 2007
Posts: 553
Default Sure

sawadnet2

This is nothing to worry about at all. It just points to web standard information on the web that browsers will recognize. It identifies your format as xhtml (a long version of the name) and provides the web location of the standards details.

The whole statement tells your browser exactly what format your page will follow so it can be displayed better. html has gone through many phases and browsers try to make adjustments to fit the version you are using. There is a lot of hit and miss with many of them.

The statement you quote tells the browser that you will be following the xhtml 1.0 strict version. In short the browser will put up exactly what you enter and not guess at anything because the strict means you do not have any old styles included but will follow the current standard. By following the instructions on htmldog.com or w3schools.com you will meet this standard. That's why it is good to learn from an up to date tutor.

Always put this at the top of your page and you will do fine. If you do not the browser will assume you may have a mix of stuff and will guess a lot. Different browsers will display your page differently, too, if they are guessing differently.

Make it easy for yourself by making a copy of this and have it available for copy and paste so you won't need to type it out everytime. If you use an editor like NoteTab as I do (a free version is available for download), it will automatically input it when you start a new page.
__________________
Good Success!

James
Douglas County Master Gardeners
"We don't always get what we want, but we always get what we expect."
Reply With Quote