### 22.4 Supplying values for the <head> element

DITA2Go normally provides a header that indicates compliance with W3C’s HTML 4 specification. The default header includes a “transitional” qualifier that permits use of some formatting code that in HTML 4 is deprecated in favor of CSS. Unfortunately, browsers have not quite managed yet to implement CSS well enough so that you can depend on CSS alone; not even CSS1, let alone CSS2. So “strict” compliance has to wait.

In this section:

§22.4.1 Specifying HTML/XML version, DOCTYPE, and DTD

§22.4.2 Specifying namespace and language

§22.4.3 Specifying character encoding for HTML

§22.4.4 Including or omitting HTML/XML generator information

§22.4.5 Specifying page titles for HTML output files

§22.4.6 Supplying content for the <meta> tag

§22.4.7 Specifying nonstandard values for declarations

Previous Topic: 22.3 Including starting code and entity references

Next Topic: 22.4.1 Specifying HTML/XML version, DOCTYPE, and DTD

Parent Topic: 22. Converting to HTML/XHTML

Sibling Topics:

22.1 Deciding which type of output to produce

22.2 Setting up an HTML project

22.3 Including starting code and entity references

22.5 Specifying HTML <body> attributes

22.6 Specifying document-wide properties for HTML

22.7 Defining text colors for HTML

22.8 Importing HTML files as insets

22.9 Providing hover text for links in HTML

22.10 Generating XHTML for Confluence 4.x

22.11 Exporting content for database input

22.12 Specifying a starting topic for HTML or XHTML

22.13 Using framesets

22.14 Passing W3C validation tests

Table of Contents • Index