Jump to content

Recommended Posts

Posted

I use MSFT Front Page. I've been doing web pages for 13 years so am a bit stuck in old style - though I've dabbled with .css code recently - and don't like it.

The default for FrontPage 2003 is <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

but that's probably already out-dated - does that qualify as DOCTYPE?,

I found a an html checking site which appears to be very good. w3.org

and although my web pages show up, the checker results tell me I'm using the wrong DOCTYPE. Here's what I'm currently using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

I guess my question boils down to: what DOCTYPE is appropriate for older style html which uses such now-archaic terms such as 'BODY BACKGROUND' ?

If someone wants to look at my html, here's a sample page, sabaibooks dot com / contact dot htm

thanks

Posted

There is nothing wrong with your DOCTYPE.

The validation errors are because of invalid HTML - even by old standards. BGCOLOR used to be part of the standard for the TD element (it's now deprecated), but BACKGROUND never was part of the standard. (BACKGROUND can be used with the TABLE element, though.)

Incidentally, you are specifying some very specific fonts in your HTML - fonts which aren't available on a large proportion of computers. Your site will look very different on different computers.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...