Lojic Technologies

Which doctypes are being used?

with 3 comments

In trying to decide which doctype to use for my new web apps, I thought I’d see what other sites are currently using. Here are the results in order from least to most leading edge:

No doctype at all

HTML 4.0 Transitional w/o URL

HTML 4.0 Transitional Loose

HTML 4.0 Strict w/o URL

HTML 4.01 Transitional w/o URL

HTML 4.01 Transitional Loose

HTML 4.01 Strict

XHTML 1.0 Transitional

XHTML 1.0 Strict



There are enough mainstream sites using XHTML now, that I feel it may be ready for prime time. Since I don’t have a lot of legacy pages to deal with, I’m going to use XHTML 1.0 Strict.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Written by Brian Adkins

July 12, 2007 at 10:01 pm

Posted in web design

Tagged with ,

3 Responses

Subscribe to comments with RSS.

  1. Bummer, just ran into my first problem with XHTML Strict. You can’t use a target attribute on an anchor element 😦

    Brian Adkins

    July 13, 2007 at 4:40 pm

  2. Brian, Matt Promise sent me a link to your site here.

    Use this:


    July 14, 2007 at 8:36 am

  3. Well, it didnt show my code. Lets try again.


    July 14, 2007 at 8:37 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: