Hi

I'm rather new to this and wonder how I should write the first line of code, something like <!DOCTYPE html> maybe not enough for all browsers from what I have read. I certainly get different result to at least one of my pages depending on what browser I see them in. Good in Firefox, with slight problems in IE9, and absolutely all over the place in Google Chrome.


I expect that when you write code in a html code generator or editor you get the version from the editor. However I don't have one and have been writing and editing directly in the script at the host. As I have been validating the code with W3C should I use that?. The next question is exactly what should I put in the first line to go with <!DOCTYPE html> ?

Thank you