The following are various prologue identifiers that should be used in HTML documents. With the identifier is the name of the HTML DTD (document type definition) that the prologue identifier labels the HTML document as adhering to. I.e. a HTML document whose prologue identifier is <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 1//EN//">
should adhere to the HTML-1.DTD (see the RFC for HTML 2.0 (RFC1866) for the DTD). Such a document should not contain Form elements for example.
The document prologue identifier should be included before the <HTML>
element of a HTML document, in fact, it should be the first line of any HTML document.
How to refer to the HTML 4.0 specification (correct at the time of writing) :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
How to refer to HTML Level 3.2 :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
Ways to refer to Level 2: most general to most specific
These all require conformance to the HTML.DTD.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 2//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN">
Ways to refer to Level 1: most general to most specific
These all require conformance to the HTML-1.DTD.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 1//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN">
Ways to refer to Strict Level 2: most general to most specific
These all require conformance to the HTML-S.DTD.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict Level 2//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 2//EN">
Ways to refer to Strict Level 1: most general to most specific
These all require conformance to the HTML1-S.DTD.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict Level 1//EN"> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN">
© 1995-1998, Stephen Le Hunte
file: /Techref/language/html/ib/Document_Structure_Elements/prolog.htm, 3KB, , updated: 2004/3/1 16:05, local time: 2024/8/14 17:31,
3.145.53.55:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/html/ib/Document_Structure_Elements/prolog.htm"> <!DOCTYPE></A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
The Backwoods Guide to Computer Lingo |
.