What does this mean?

  • Thread starter Thread starter DarrenC
  • Start date Start date
D

DarrenC

Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
and
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
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.
 
Upvote 0
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
 
Upvote 0
Thanks guys.. will look into that - still have loads of work to make the complete site Firefox friendly!
 
Upvote 0

Latest Articles