A DOCTYPE Declaration

  powerless 17:06 26 Sep 2004

I've noticed this when viewing some sources on some sites.

PCA for example: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"

Is it important?

Do I need to declare a doctype, then agin what is a doctype?

  Forum Editor 23:31 26 Sep 2004

which HTML version you've used, and so do any software tools which you may use to validate your code.

If you include a DOCTYPE Delaration (DTD) you'll find that browsers can load the page faster, and with less chance of errors.

  powerless 19:04 27 Sep 2004

Err Frontpage does the HTML where will it tell me the version?

  powerless 22:23 27 Sep 2004

So I can either copy and paste, upon creation of a new page.

Or modify the normal.tem [once] so that when opeing a new page it incldes the doctype everytime.

I'll try the last option.

May I email you Taran?

  Forum Editor 22:39 27 Sep 2004

that you modify the template - otherwise you'll find you've forgotten to add the DTD to some pages after you've published the site - it's easy to overlook.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Samsung Galaxy Book 2: Release date, price and specs

This First Man soundtrack vinyl cover art is exquisitely composed

How to watch Apple’s October 2018 iPad launch

Meilleurs VPN (2018)