HTML Document Type property

Official Content
This documentation is valid for:
Allows you to define if the Html code follows an specific DOCTYPE standard.


HTML 4.01 Transitional This declares the document to be HTML 4.01 Transitional. HTML 4 Transitional includes all elements and attributes of HTML 4 Strict but adds presentational attributes, deprecated elements, and link targets.
HTML 4.01 Strict This declares the document to be HTML 4.01 Strict. HTML 4.01 Strict is a trimmed down version of HTML 4.01 that emphasizes structure over presentation.
HTML 5 This declares the document to be HTML 5 (Available since GeneXus X Evolution 2).
Do not specify No DOCTYPE standard is specified. This is the default value.
XHTML 1.0 Transitional This declares the document to be XHTML 1.0 Transitional. XHTML 1.0 Transitional is an XML version of HTML 4 Transitional.


The default value is compatible with all the Genexus previous versions.

When the Html 4.01 transitional is selected, you could view, at the top of the source the following header:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">

When using HTML 4.01 Strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">

When using XHTML 1.0 Transitional:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

When using HTML5:

<!DOCTYPE html>

For more information please refer to W3c- Html 401 or W3c - xhtml.

How to apply changes

To apply changes made by this property, do a Re-Build All.


Platforms: Web(.Net, Java)