Contents

HTML attributes

Documentwide attributes that provide control over the form of generated HTML.

Overview

You use these attributes only for writing HTML. excludedElements allows control over the tags used. The recognized values in the excludedElements array are (case-insensitive) HTML tags, plus DOCTYPE (representing a doctype declaration) and XML (representing an XML declaration). By default, if this attribute is not present, the excluded elements will be those deprecated in HTML 4 (APPLET, BASEFONT, CENTER, DIR, FONT, ISINDEX, MENU, S, STRIKE, and U) plus XML. If XML is on the list, HTML forms are used; if XML is not on the list, XHTML forms are used where there is a distinction. Either characterEncoding or textEncodingName may be used to control the encoding used for generated HTML; character entities are used for characters not representable in the specified encoding. prefixSpaces allows some control over formatting.

Topics

Getting the attributes

See Also

Getting document-wide attributes