PDA

View Full Version : What does this mean?


DarrenC
26th December 2005, 23:56
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> and <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Coding Monkey
27th December 2005, 07:05
It tells the browser what content to expect from the page so it can decipher it and act appropriately.

Charset refers to how the server sends HTML documents as bytes, which browsers then read as characters depending on the charset.

crus
27th December 2005, 13:06
The DocType, has recently become uber important as tells the device what set of commands to use when displaying the 'webpage'.

In this case the html 4.0 transitional document model is specified, the key role at moment, for me at least, is creating 'websites' that look identical on multiple different devices, eg IE, Firefox, Digital TV, mobile etc.

If you google browser compatability chart that will help you visualise the differences in the document models.

Hope this helps

D

DarrenC
27th December 2005, 14:09
Thanks guys.. will look into that - still have loads of work to make the complete site Firefox friendly!