module type T =sig..end
'a elt,
where 'a is a concrete phantom type build out of polymorphic variants.a_ prefixed to the
name. The name is the same as in the W3C recommendation, unless an additional
prefix is required to disambiguate:
a_fs_rows and a_fs_cols instead of a_rows and a_cols for framesets,
because of the different argument types.Finite sets of alternatives are mapped to polymorphic variants.
The phantom type is always the most general required by any (supported)
version of the standard. Type discipline is enforced by exporting or not-exporting
the corresponding constructor.
Attribute Types
typecdata =string
typeid =string
typeidref =string
typeidrefs =idref list
typename =string
typenmtoken =string
typenmtokens =nmtoken list
typepcdata =string
typecharacter =char
typecharset =string
typecharsets =charset list
typecontenttype =string
typecontenttypes =contenttype list
typecoords =string list
typedatetime =string
typefpi =string
typeframetarget =string
typelanguagecode =string
typelength =[ `Percent of int | `Pixels of int ]
`Percent 50 means half of
the available space.typelinktypes =[ `Alternate
| `Appendix
| `Bookmark
| `Chapter
| `Contents
| `Copyright
| `Glossary
| `Help
| `Index
| `Next
| `Other of string
| `Prev
| `Section
| `Start
| `Stylesheet
| `Subsection ] list
"Alternate" has the same meaning as "alternate".
User agents, search engines, etc. may interpret these link types in a variety of ways. For example, user agents may provide access to linked documents through a navigation bar.
`Alternate:
Designates substitute versions for the document in which the link occurs.
When used together with the hreflang attribute, it implies a translated
version of the document. When used together with the media attribute,
it implies a version designed for a different medium (or media).`Stylesheet:
Refers to an external style sheet. See the Style Module for details.
This is used together with the link type "Alternate" for user-selectable
alternate style sheets.`Start:
Refers to the first document in a collection of documents.
This link type tells search engines which document is considered
by the author to be the starting point of the collection.`Next:
Refers to the next document in a linear sequence of documents.
User agents may choose to pre-load the "next" document, to reduce
the perceived load time.`Prev:
Refers to the previous document in an ordered series of documents.
Some user agents also support the synonym "Previous".`Contents:
Refers to a document serving as a table of contents. Some user
agents also support the synonym ToC (from "Table of Contents").`Index:
Refers to a document providing an index for the current document.`Glossary:
Refers to a document providing a glossary of terms that pertain to
the current document.`Copyright:
Refers to a copyright statement for the current document.`Chapter:
Refers to a document serving as a chapter in a collection of documents.`Section:
Refers to a document serving as a section in a collection of documents.`Subsection:
Refers to a document serving as a subsection in a collection of documents.`Appendix:
Refers to a document serving as an appendix in a collection of documents.`Help:
Refers to a document offering help (more information, links to other
sources information, etc.)`Bookmark:
Refers to a bookmark. A bookmark is a link to a key entry point within
an extended document. The title attribute may be used, for example, to
label the bookmark. Note that several bookmarks may be defined in each
document.`Other:
refers to any other type (for example icon or shortcut).
typemediadesc =[ `All
| `Aural
| `Braille
| `Handheld
| `Projection
| `Screen
| `TTY
| `TV ] list
`Screen:
Intended for non-paged computer screens.`TTY:
Intended for media using a fixed-pitch character grid, such as
teletypes, terminals, or portable devices with limited display
capabilities.`TV:
Intended for television-type devices (low resolution, color,
limited scrollability).`Projection:
Intended for projectors.`Handheld:
Intended for handheld devices (small screen, monochrome,
bitmapped graphics, limited bandwidth).`Print:
Intended for paged, opaque material and for documents viewed
on screen in print preview mode.`Braille:
Intended for braille tactile feedback devices.`Aural:
Intended for speech synthesizers.`All:
Suitable for all devices.Future versions of XHTML may introduce new values and may allow parameterized values. To facilitate the introduction of these extensions, conforming user agents must be able to parse the media attribute value as follows:
media="screen, 3d-glasses, print and resolution > 90dpi"
is mapped to: "screen", "3d-glasses",
"print and resolution > 90dpi".[a-zA-Z] (ISO 10646 hex 41-5a,
61-7a), digit [0-9] (hex 30-39), or hyphen-minus (hex 2d).
In the example, this gives: "screen", "3d-glasses", "print"."screen" and
"print".
Note. Style sheets may include media-dependent variations within them
(e.g., the CSS @media construct). In such cases it may be appropriate
to use "media=all".
typemultilength =[ `Percent of int | `Pixels of int | `Relative of int ]
"i*", where "i" is an integer. When allotting space
among elements competing for that space, user agents allot pixel
and percentage lengths first, then divide up remaining available
space among relative lengths. Each relative length receives a
portion of the available space that is proportional to the integer
preceding the "*". The value "*" is equivalent to "1*". Thus, if
60 pixels of space are available after the user agent allots pixel
and percentage space, and the competing relative lengths are "1*",
"2*", and "3*", the "1*" will be allotted 10 pixels, the "2*" will be
allotted 20 pixels, and the "3*" will be allotted 30 pixels.typemultilengths =multilength list
typenumber =int
typepixels =int
"50" means fifty
pixels. For normative information about the definition of a pixel,
please consult CSS2.typescript =string
"script" element and the
value of intrinsic event attributes. User agents must not evaluate
script data as HTML markup but instead must pass it on as data to a
script engine.
The case-sensitivity of script data depends on the scripting language.
Please note that script data that is element content may not
contain character references, but script data that is the value of
an attribute may contain them.
typetext =string
type uri
val uri_of_string : string -> urival string_of_uri : uri -> string
typeuris =uri
type +'a attrib
type +'a attribs
val to_xmlattribs : 'a attrib list -> XML.attrib list'a is known as a phantom type. The implementation is
actually monomorphic (the different element types are distinguished
by a homogeneous variable, such as their textual representation)
and the type variable `a is just used by the type checker.
NB: It might be possible to use polymorphic variants directly, without
phantom types, but the implementation is likely to be more involved.
Core
typecore =[ `Class | `Id | `Title ]
val a_class : nmtokens -> [> `Class ] attribval a_id : id -> [> `Id ] attribval a_title : cdata -> [> `Title ] attriblink
element to designate an external style sheet. Please consult the
section on links and style sheets for details.typei18n =[ `XML_lang ]
val a_xml_lang : nmtoken -> [> `XML_lang ] attribtypeevents =[ `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp ]
val a_onblur : cdata -> [> `OnBlur ] attribval a_onclick : cdata -> [> `OnClick ] attribval a_ondblclick : cdata -> [> `OnDblClick ] attribval a_onchange : cdata -> [> `OnChange ] attribval a_onfocus : cdata -> [> `OnFocus ] attribval a_onload : cdata -> [> `OnLoad ] attribval a_onunload : cdata -> [> `OnUnload ] attribval a_onreset : cdata -> [> `OnReset ] attribval a_onselect : cdata -> [> `OnSelect ] attribval a_onsubmit : cdata -> [> `OnSubmit ] attribval a_onmousedown : cdata -> [> `OnMouseDown ] attribval a_onmouseup : cdata -> [> `OnMouseUp ] attribval a_onmouseover : cdata -> [> `OnMouseOver ] attribval a_onmousemove : cdata -> [> `OnMouseMove ] attribval a_onmouseout : cdata -> [> `OnMouseOut ] attribval a_onkeypress : cdata -> [> `OnKeyPress ] attribval a_onkeydown : cdata -> [> `OnKeyDown ] attribval a_onkeyup : cdata -> [> `OnKeyUp ] attribtypecommon =[ `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ]
module STRUCTURE:sig..end
val a_profile : uri -> [> `Profile ] attribval a_version : cdata -> [> `Version ] attribval a_xmlns : [< `W3_org_1999_xhtml ] -> [> `XMLns ] attribmodule TEXT:sig..end
val a_cite : uri -> [> `Cite ] attribval a_xml_space : [< `Preserve ] -> [> `XML_space ] attribmodule HYPERTEXT:sig..end
val a_accesskey : character -> [> `Accesskey ] attribval a_charset : charset -> [> `Charset ] attribval a_accept_charset : charset -> [> `Accept_charset ] attribval a_accept : contenttype -> [> `Accept ] attribval a_href : uri -> [> `Href ] attribval a_hreflang : languagecode -> [> `Hreflang ] attribval a_rel : linktypes -> [> `Rel ] attribval a_rev : linktypes -> [> `Rev ] attribval a_tabindex : number -> [> `Tabindex ] attribval a_type : contenttype -> [> `Type ] attribmodule LIST:sig..end
module PRESENTATION:sig..end
val a_datetime : cdata -> [> `Datetime ] attribval a_dir : [< `Ltr | `Rtl ] -> [> `Dir ] attribmodule FORMS:sig..end
val a_action : uri -> [> `Action ] attribval a_checked : [< `Checked ] -> [> `Checked ] attribtype attribute has the value "radio" or "checkbox",
this boolean attribute specifies that the button is on. User
agents must ignore this attribute for other control types.val a_cols : number -> [> `Cols ] attribval a_enctype : contenttype -> [> `Enctype ] attribval a_for : idref -> [> `For ] attribval a_maxlength : number -> [> `Maxlength ] attribval a_method : [< `Get | `Post ] -> [> `Method ] attribval a_multiple : [< `Multiple ] -> [> `Multiple ] attribval a_name : cdata -> [> `Name ] attribval a_rows : number -> [> `Rows ] attribval a_selected : [< `Selected ] -> [> `Selected ] attribval a_size : number -> [> `Size ] attribval a_src : uri -> [> `Src ] attribval a_input_type : [< `Button
| `Checkbox
| `File
| `Hidden
| `Image
| `Password
| `Radio
| `Reset
| `Submit
| `Text ] ->
[> `Input_Type ] attribval a_value : cdata -> [> `Value ] attriboption element.val a_value_type : [< `Data | `Object | `Ref ] -> [> `Value_Type ] attribval a_disabled : [< `Disabled ] -> [> `Disabled ] attribval a_readonly : [< `Readonly ] -> [> `Readonly ] attrib : [< `Button | `Reset | `Submit ] -> [> `Button_Type ] attribval a_label : text -> [> `Label ] attribmodule TABLES:sig..end
val a_abbr : text -> [> `Abbr ] attribval a_align : [< `Center | `Char | `Justify | `Left | `Right ] ->
[> `Align ] attribval a_axis : cdata -> [> `Axis ] attribval a_colspan : number -> [> `Colspan ] attribval a_headers : idrefs -> [> `Headers ] attribval a_rowspan : number -> [> `Rowspan ] attribval a_scope : [< `Col | `Colgroup | `Row | `Rowgroup ] -> [> `Scope ] attribval a_summary : text -> [> `Summary ] attribval a_valign : [< `Baseline | `Bottom | `Middle | `Top ] -> [> `Valign ] attribval a_border : pixels -> [> `Border ] attribval a_cellpadding : length -> [> `Cellpadding ] attribval a_cellspacing : length -> [> `Cellspacing ] attribval a_datapagesize : cdata -> [> `Datapagesize ] attribval a_frame : [< `Above | `Below | `Border | `Box | `Hsides | `LHS | `RHS | `Void | `Vsides ] ->
[> `Frame ] attribval a_rules : [< `All | `Cols | `Groups | `None | `Rows ] -> [> `Rules ] attribval a_char : character -> [> `Char ] attribval a_charoff : length -> [> `Charoff ] attribval a_span : number -> [> `Span ] attribval a_alt : text -> [> `Alt ] attribval a_height : length -> [> `Height ] attribval a_longdesc : uri -> [> `Longdesc ] attribval a_width : length -> [> `Width ] attribtypeshape =[ `Circle | `Default | `Poly | `Rect ]
val a_shape : shape -> [> `Shape ] attribval a_coords : int list -> [> `Coords ] attribval a_nohref : [< `Nohref ] -> [> `Nohref ] attribval a_usemap : idref -> [> `Usemap ] attribval a_ismap : [< `Ismap ] -> [> `Ismap ] attribval a_declare : [< `Declare ] -> [> `Declare ] attribval a_classid : uri -> [> `Classid ] attribval a_codebase : uri -> [> `Codebase ] attribval a_data : uri -> [> `Data ] attribval a_codetype : contenttype -> [> `Codetype ] attribval a_archive : uris -> [> `Archive ] attribval a_standby : text -> [> `Standby ] attribval a_fs_rows : multilengths -> [> `FS_Rows ] attribval a_fs_cols : multilengths -> [> `FS_Cols ] attribval a_frameborder : [< `One | `Zero ] -> [> `Frameborder ] attribval a_marginheight : pixels -> [> `Marginheight ] attribval a_marginwidth : pixels -> [> `Marginwidth ] attribval a_noresize : [< `Noresize ] -> [> `Noresize ] attribval a_scrolling : [< `Auto | `No | `Yes ] -> [> `Scrolling ] attribval a_target : frametarget -> [> `Target ] attribmodule METAINFORMATION:sig..end
val a_content : cdata -> [> `Content ] attribval a_http_equiv : nmtoken -> [> `Http_equiv ] attribval a_scheme : cdata -> [> `Scheme ] attribval a_defer : [< `Defer ] -> [> `Defer ] attribmodule STYLE_SHEET:sig..end
val a_media : mediadesc -> [> `Media ] attribval a_style : string -> [> `Style_Attr ] attribmodule LINK:sig..end
module BASE:sig..end
`Name_01_00 .typeedit =[ `Del | `Ins ]
typescripttag =[ `Noscript | `Script ]
typemisc =[ `Del | `Ins | `Noscript | `Script ]
module SPECIAL:sig..end
typei18nclass =[ `Bdo ]
module RUBY:sig..end
typeno_ruby_inline =[ `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Kbd
| `Label
| `Map
| `Object
| `Q
| `Samp
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ]
typeno_ruby_content =[ `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ]
typeblock =[ `Address
| `Blockquote
| `Del
| `Div
| `Dl
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `Ins
| `Noscript
| `Ol
| `P
| `Pre
| `Script
| `Table
| `Ul ]
typeblock_sans_form =[ `Address
| `Blockquote
| `Del
| `Div
| `Dl
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `Ins
| `Noscript
| `Ol
| `P
| `Pre
| `Script
| `Table
| `Ul ]
typeflow =[ `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ]
typeflow_sans_table =[ `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ]
typeinline =[ `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ]
typeinline_sans_a_mix =[ `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ]
= [ `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Ins
| `Kbd
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `Pre
| `Q
| `Samp
| `Script
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Tt
| `Ul
| `Var ]
typeprecontent =[ `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Br
| `Cite
| `Code
| `Dfn
| `Em
| `I
| `Kbd
| `Map
| `Q
| `Samp
| `Script
| `Span
| `Strong
| `Tt
| `Var ]
typeinline_sans_label =[ `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Map
| `Noscript
| `Object
| `Q
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ]
typeheading =TEXT.heading
type +'a elt
type('a, 'b)nullary =?a:'a attrib list -> unit -> 'b elt
type('a, 'b, 'c)unary =?a:'a attrib list -> 'b elt -> 'c elt
type('a, 'b, 'c, 'd)binary =?a:'a attrib list ->
'b elt -> 'c elt -> 'd elt
type('a, 'b, 'c, 'd, 'e, 'f)quadry =?a:'a attrib list ->
'b elt ->
'c elt -> 'd elt -> 'e elt -> 'f elt
type('a, 'b, 'c)star =?a:'a attrib list -> 'b elt list -> 'c elt
type('a, 'b, 'c)plus =?a:'a attrib list ->
'b elt -> 'b elt list -> 'c elt
typehtml =[ `Html ] elt
val html : ?a:[< `Version | `XML_lang | `XMLns ] attrib list ->
[< `Head ] elt -> [< `Body | `Frameset ] elt -> htmlval head : ?a:[< `Profile | `XML_lang ] attrib list ->
[< `Base | `Title ] elt ->
[< `Link | `Meta | `Object | `Script | `Style ] elt list ->
[> `Head ] eltval title : ([< i18n ], [< `PCDATA ], [> `Title ]) unaryval body : ([< `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnLoad
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `OnUnload
| `Style_Attr
| `Title
| `XML_lang ],
[< block ], [> `Body ])
starval pcdata : string -> [> `PCDATA ] eltval entity : string -> [> `PCDATA ] eltval space : unit -> [> `PCDATA ] eltval cdata : string -> [> `PCDATA ] eltval cdata_script : string -> [> `PCDATA ] eltval cdata_style : string -> [> `PCDATA ] eltval h1 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H1 ])
starval h2 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H2 ])
starval h3 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H3 ])
starval h4 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H4 ])
starval h5 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H5 ])
starval h6 : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `H6 ])
starval address : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Address ])
starval blockquote : ([< `Cite
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `Address
| `Blockquote
| `Del
| `Div
| `Dl
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `Ins
| `Noscript
| `Ol
| `P
| `PCDATA
| `Pre
| `Script
| `Table
| `Ul ],
[> `Blockquote ])
starval div : ([< common ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Div ])
starval p : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `P ])
starval pre : ([< `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang
| `XML_space ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Br
| `Cite
| `Code
| `Dfn
| `Em
| `I
| `Kbd
| `Map
| `PCDATA
| `Q
| `Samp
| `Script
| `Span
| `Strong
| `Tt
| `Var ],
[> `Pre ])
starval abbr : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Abbr ])
starval acronym : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Acronym ])
starval br : ([< core ], [> `Br ]) nullaryval cite : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Cite ])
starval code : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Code ])
starval dfn : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Dfn ])
starval em : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Em ])
starval kbd : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Kbd ])
starval q : ([< `Cite
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Q ])
starval samp : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Samp ])
starval span : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Span ])
starval strong : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Strong ])
starval var : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Var ])
starval a : ([< `Accesskey
| `Charset
| `Class
| `Coords
| `Href
| `Hreflang
| `Id
| `Name_01_00
| `OnBlur
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rel
| `Rev
| `Shape
| `Style_Attr
| `Tabindex
| `Target
| `Title
| `Type
| `XML_lang ],
[< `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `A ])
starval dl : ([< common ], [< `Dd | `Dt ], [> `Dl ]) plusval ol : ([< common ], [< `Li ], [> `Ol ]) plusval ul : ([< common ], [< `Li ], [> `Ul ]) plusval dd : ([< common ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Dd ])
starval dt : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Dt ])
starval li : ([< common ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Li ])
starval hr : ([< common ], [> `Hr ]) nullaryval b : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `B ])
starval big : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Big ])
starval i : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `I ])
starval small : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Small ])
starval sub : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Sub ])
starval sup : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Sup ])
starval tt : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Tt ])
starval bdo : dir:[< `Ltr | `Rtl ] ->
([< `Class | `Id | `Title | `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Bdo ])
starval area : alt:text ->
([< `Accesskey
| `Class
| `Coords
| `Href
| `Id
| `Nohref
| `OnBlur
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Shape
| `Style_Attr
| `Tabindex
| `Title
| `XML_lang ],
[> `Area ])
nullaryval map : id:id ->
([< `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Title
| `XML_lang
| `XMLns ],
[< `Address
| `Area
| `Blockquote
| `Del
| `Div
| `Dl
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `Ins
| `Noscript
| `Ol
| `P
| `Pre
| `Script
| `Table
| `Ul ],
[> `Map ])
plusval del : ([< `Cite
| `Class
| `Datetime
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Del ])
starval ins : ([< `Cite
| `Class
| `Datetime
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Ins ])
starval script : contenttype:contenttype ->
([< `Charset | `Defer | `Id | `Src | `XML_space | `XMLns ], [< `PCDATA ],
[> `Script ])
unaryval noscript : ([< common ], [< block ], [> `Noscript ]) plusopen Basic_Forms to enable basic forms.module Basic_Forms:sig..end
val form : action:uri ->
([< `Accept
| `Accept_charset
| `Class
| `Enctype
| `Id
| `Method
| `Name_01_00
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `OnReset
| `OnSubmit
| `Style_Attr
| `Target
| `Title
| `XML_lang ],
[< `Address
| `Blockquote
| `Del
| `Div
| `Dl
| `Fieldset
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `Ins
| `Noscript
| `Ol
| `P
| `Pre
| `Script
| `Table
| `Ul ],
[> `Form ])
plusval input : ([< `Accept
| `Accesskey
| `Alt
| `Checked
| `Class
| `Disabled
| `Id
| `Input_Type
| `Ismap
| `Maxlength
| `Name
| `OnBlur
| `OnChange
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `OnSelect
| `Readonly
| `Size
| `Src
| `Style_Attr
| `Tabindex
| `Title
| `Usemap
| `Value
| `XML_lang ],
[> `Input ])
nullaryval label : ([< `Accesskey
| `Class
| `For
| `Id
| `OnBlur
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Label ])
starval optgroup : label:text ->
([< `Class
| `Disabled
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `Option ], [> `Optgroup ])
plusval option : ([< `Class
| `Disabled
| `Id
| `Label
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Selected
| `Style_Attr
| `Title
| `Value
| `XML_lang ],
[< `PCDATA ], [> `Option ])
unaryval select : ([< `Class
| `Disabled
| `Id
| `Multiple
| `Name
| `OnBlur
| `OnChange
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Size
| `Style_Attr
| `Tabindex
| `Title
| `XML_lang ],
[< `Optgroup | `Option ], [> `Select ])
plusval textarea : rows:number ->
cols:number ->
([< `Accesskey
| `Class
| `Disabled
| `Id
| `Name
| `OnBlur
| `OnChange
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `OnSelect
| `Readonly
| `Style_Attr
| `Tabindex
| `Title
| `XML_lang ],
[< `PCDATA ], [> `Textarea ])
unaryval fieldset : ([< common ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Legend
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Fieldset ])
starval legend : ([< `Accesskey
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Legend ])
star : ([< `Accesskey
| `Button_Type
| `Class
| `Disabled
| `Id
| `Name
| `OnBlur
| `OnClick
| `OnDblClick
| `OnFocus
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Tabindex
| `Title
| `Value
| `XML_lang ],
[< `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Ins
| `Kbd
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Samp
| `Script
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Tt
| `Ul
| `Var ],
[> `Button ])
staropen Basic_Tables to switch globally to basic tables.module Basic_Tables:sig..end
val caption : ([< common ],
[< `A
| `Abbr
| `Acronym
| `B
| `Bdo
| `Big
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Em
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `PCDATA
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Textarea
| `Tt
| `Var ],
[> `Caption ])
starval table : ?caption:[< `Caption ] elt ->
?columns:[< `Colgroups of [< `Colgroup ] elt list
| `Cols of [< `Col ] elt list ] ->
([< `Border
| `Cellpadding
| `Cellspacing
| `Class
| `Datapagesize
| `Frame
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rules
| `Style_Attr
| `Summary
| `Title
| `Width
| `XML_lang ],
[< `Tr ], [> `Table ])
plusval tablex : ?caption:[< `Caption ] elt ->
?columns:[< `Colgroups of [< `Colgroup ] elt list
| `Cols of [< `Col ] elt list ] ->
?thead:[< `Thead ] elt ->
?tfoot:[< `Tfoot ] elt ->
([< `Border
| `Cellpadding
| `Cellspacing
| `Class
| `Datapagesize
| `Frame
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rules
| `Style_Attr
| `Summary
| `Title
| `Width
| `XML_lang ],
[< `Tbody ], [> `Table ])
plusval td : ([< `Abbr
| `Align
| `Axis
| `Char
| `Charoff
| `Class
| `Colspan
| `Headers
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rowspan
| `Scope
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Td ])
starval th : ([< `Abbr
| `Align
| `Axis
| `Char
| `Charoff
| `Class
| `Colspan
| `Headers
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rowspan
| `Scope
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Th ])
starval tr : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `Td | `Th ], [> `Tr ])
plusval col : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Span
| `Style_Attr
| `Title
| `Valign
| `Width
| `XML_lang ],
[> `Col ])
nullaryval colgroup : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Span
| `Style_Attr
| `Title
| `Valign
| `Width
| `XML_lang ],
[< `Col ], [> `Colgroup ])
starval thead : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `Tr ], [> `Thead ])
plusval tbody : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `Tr ], [> `Tbody ])
plusval tfoot : ([< `Align
| `Char
| `Charoff
| `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `Valign
| `XML_lang ],
[< `Tr ], [> `Tfoot ])
plusval img : src:uri ->
alt:text ->
([< `Class
| `Height
| `Id
| `Ismap
| `Longdesc
| `Name_01_00
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Style_Attr
| `Title
| `Usemap
| `Width
| `XML_lang ],
[> `Img ])
nullaryval object_ : ([< `Archive
| `Class
| `Classid
| `Codebase
| `Codetype
| `Data
| `Declare
| `Height
| `Id
| `Name
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Standby
| `Style_Attr
| `Tabindex
| `Title
| `Type
| `Usemap
| `Width
| `XML_lang ],
[< `A
| `Abbr
| `Acronym
| `Address
| `B
| `Bdo
| `Big
| `Blockquote
| `Br
| `Button
| `Cite
| `Code
| `Del
| `Dfn
| `Div
| `Dl
| `Em
| `Fieldset
| `Form
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hr
| `I
| `Img
| `Input
| `Ins
| `Kbd
| `Label
| `Map
| `Noscript
| `Object
| `Ol
| `P
| `PCDATA
| `Param
| `Pre
| `Q
| `Ruby_complex
| `Ruby_simple1
| `Ruby_simple2
| `Samp
| `Script
| `Select
| `Small
| `Span
| `Strong
| `Sub
| `Sup
| `Table
| `Textarea
| `Tt
| `Ul
| `Var ],
[> `Object ])
starval param : name:text ->
([< `Id | `Type | `Value | `Value_Type | `XMLns ], [> `Param ])
nullaryval frameset : ?noframes:[< `Noframes ] elt ->
([< `Class | `FS_Cols | `FS_Rows | `Id | `OnLoad | `OnUnload | `Title ],
[< `Frame | `Frameset ], [> `Frameset ])
plusval frame : src:uri ->
([< `Class
| `Frameborder
| `Id
| `Longdesc
| `Marginheight
| `Marginwidth
| `Name_01_00
| `Noresize
| `Scrolling
| `Title ],
[> `Frame ])
nullaryval noframes : ([< common ], [< `Body ], [> `Noframes ]) unaryval meta : content:cdata ->
([< `Http_equiv | `Name | `Scheme | `XML_lang ], [> `Meta ]) nullaryval style : contenttype:contenttype ->
([< `Id | `Media | `Title | `XML_lang | `XML_space | `XMLns ], [< `PCDATA ],
[> `Style ])
starval link : ([< `Charset
| `Class
| `Href
| `Hreflang
| `Id
| `Media
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rel
| `Rev
| `Style_Attr
| `Target
| `Title
| `Type
| `XML_lang ],
[> `Link ])
nullaryval base : href:uri -> unit -> [> `Base ] eltval ruby_simple1 : ?a:[< common ] attrib list ->
[< `Rb ] elt ->
[< `Rt ] elt -> [> `Ruby_simple1 ] eltval ruby_simple2 : ?a:[< common ] attrib list ->
[< `Rb ] elt ->
[< `Rp ] elt ->
[< `Rt ] elt ->
[< `Rp ] elt -> [> `Ruby_simple2 ] eltval ruby_complex : ?a:[< common ] attrib list ->
[< `Rbc ] elt ->
[< `Rtc_complex ] elt -> [> `Ruby_complex ] eltval rbc : ([< common ], [< `Rb ], [> `Rbc ]) plusval rtc : ([< common ], [< `Rt ], [> `Rtc ]) plusval rtc_complex : ([< common ], [< `Rt_complex ], [> `Rtc ]) plusval rb : ([< common ], [< no_ruby_content ], [> `Rb ]) starval rt : ([< common ], [< no_ruby_content ], [> `Rt ]) starval rt_complex : ([< `Class
| `Id
| `OnClick
| `OnDblClick
| `OnKeyDown
| `OnKeyPress
| `OnKeyUp
| `OnMouseDown
| `OnMouseMove
| `OnMouseOut
| `OnMouseOver
| `OnMouseUp
| `Rbspan
| `Style_Attr
| `Title
| `XML_lang ],
[< no_ruby_content ], [> `Rt ])
starval rp : ([< common ], [< `PCDATA ], [> `Rp ]) starval a_rbspan : number -> [> `Rbspan ] attrib?encode maps strings to HTML and must encode the unsafe characters
'<', '>', '"', '&' and the control characters 0-8, 11-12, 14-31, 127
to HTML entities. XML.encode_unsafe is the default for ?encode in output
and pretty_print below. Other implementations are provided by the module
Netencoding in the
OcamlNet library, e.g.:
let encode = Netencoding.Html.encode ~in_enc:`Enc_iso88591 ~out_enc:`Enc_usascii (),
Where national characters are replaced by HTML entities.
The user is of course free to write her own implementation.~encoding is the official name of the external character set encoding that
is used by outs : string -> unit.typedoctypes =[ `Doctype of string
| `HTML_v03_02
| `HTML_v04_01
| `XHTML_01_00
| `XHTML_01_01 ]
val doctype : [< doctypes ] -> stringval output : ?encode:(string -> string) ->
?encoding:string -> (string -> unit) -> html -> unitval pretty_print : ?width:int ->
?encode:(string -> string) ->
?encoding:string -> (string -> unit) -> html -> unitval version : stringval standard : urival validator : urival validator_icon : unit -> [> `A ] elt
val addto_class : string -> 'a elt -> 'a eltval addto_class1 : string -> 'a elt -> 'a eltval set_rowspan : int -> ([< `Td | `Th ] as 'a) elt -> 'a eltval rewrite_hrefs : (string -> string) -> 'a elt -> 'a eltval tot : XML.elt -> 'a eltval totl : XML.elt list -> 'a elt listval toelt : 'a elt -> XML.eltval toeltl : 'a elt list -> XML.elt list