Multi language website

liunx

Guest
Hi, <br />
I am fairly new at web design and so I check the HTML on a lot of websites. There are some that I check that do not have this at the top. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">. <br />
<br />
I thought this was always required, can anyone enlighten me on this? <br />
<br />
Thanks in advance<br />
<br />
D<!--content-->That line is just something required for a validator to validate the code. You really don't need it, but if you want to write your code to a given standard (and IMHO you should), then you can put this stuff at the top of your document to show others, like yourself, that you care about (and are willing to adhere to) the standards.<br />
<br />
It's a great way to learn about the standards when you think that you've written good code and the validator goes "No No No No No, you can't do that".<!--content-->Yeah it's a good way to safeguard your pages for the future, in this everchanging crazy world of coding =]<br />
<br />
d<!--content-->
 
Back
Top