Official Content

Allows you to define if the Html code follows an specific DOCTYPE standard.

Values

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.

Description

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" "http://www.w3.org/TR/html4/loose.dtd">

When using HTML 4.01 Strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

When using XHTML 1.0 Transitional:

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

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.

Scope

Platforms: Web(.Net, Java)

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant