What versions of HTML are supported?

Avatar
  • Answered
We recently transferred our site to InMotion from our own server. The site dates back to about 2000 and has had several people working on it. It has never had a compete rebuild so it contains elements from HTML 3.2 to HTML4. Will we need to update to current standards?
Thanks
GOF
Avatar
Scott
Hello GOF, The server will not care what version the HTML code is. This is because it is the visitor's browsers that parse and display the HTML code. For the most part, all current browsers can deal with HTML 3.2. To help out, each of your HTML files should include the following line, which tells the browser to use the HTML 4.01 rules but allows older, deprecated tags to be included as well.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Best Regards, Scott M