Up

module Html5_types

: sig

HTML5 types with variants. (See also Html5.M)

See also http://dev.w3.org/html5/spec/Overview.html information concerning HTML5 at W3C.

Attribute types.

#
type cdata = string

Character data

#
type id = string

A document-unique identifier

#
type idref = string

A reference to a document-unique identifier

#
type idrefs = idref list

A space-separated list of references to document-unique identifiers

#
type name = string

A name with the same character constraints as ID above

#
type nmtoken = string

A name composed of only name tokens as defined in XML 1.0

#
type nmtokens = nmtoken list

One or more white space separated NMTOKEN values

Data Types

#
type character = char

A single character from ISO 10646.

#
type charset = string

A character encoding, as per RFC2045 (MIME).

#
type charsets = charset list

A space-separated list of character encodings, as per RFC2045 (MIME).

#
type contenttype = string

A media type, as per RFC2045 (MIME).

#
type contenttypes = contenttype list

A comma-separated list of media types, as per RFC2045 (MIME).

#
type coords = string list

Comma- separated list of coordinates to use in defining areas.

#
type datetime = string

Date and time information.

#
type fpi = string

A character string representing an SGML Formal Public Identifier.

#
type frametarget = string

Frame name used as destination for results of certain actions.

#
type languagecode = string

A language code, as per RFC5646/BCP47.

#
type length = [
| `Pixels of int
| `Percent of int
]

The value may be either in pixels or a percentage of the available horizontal or vertical space. Thus, the value `Percent 50 means half of the available space.

#
type linktypes = [
| `Alternate
| `Archives
| `Author
| `Bookmark
| `External
| `First
| `Help
| `Icon
| `Index
| `Last
| `License
| `Next
| `Nofollow
| `Noreferrer
| `Pingback
| `Prefetch
| `Prev
| `Search
| `Stylesheet
| `Sidebar
| `Tag
| `Up
| `Other of string
] list

Authors may use the following recognized link types, listed here with their conventional interpretations. A LinkTypes value refers to a space-separated list of link types. White space characters are not permitted within link types. These link types are case-insensitive, i.e., "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: Gives alternate representations of the current document.
  • `Archives: Provides a link to a collection of records, documents, or other materials of historical interest.
  • `Author: Gives a link to the current document's author.
  • `Bookmark: Gives the permalink for the nearest ancestor section.
  • `External: Indicates that the referenced document is not part of the same site as the current document.
  • `First: Indicates that the current document is a part of a series, and that the first document in the series is the referenced document.
  • `Help: Provides a link to context-sensitive help.
  • `Icon: Imports an icon to represent the current document.
  • `Index: Gives a link to the document that provides a table of contents or index listing the current document.
  • `Last: Indicates that the current document is a part of a series, and that the last document in the series is the referenced document.
  • `Licence: Indicates that the main content of the current document is covered by the copyright license described by the referenced document.
  • `Next: Indicates that the current document is a part of a series, and that the next document in the series is the referenced document.
  • `Nofollow: Indicates that the current document's original author or publisher does not endorse the referenced document.
  • `Noreferrer: Requires that the user agent not send an HTTP Referer (sic) header if the user follows the hyperlink.
  • `Pingback: Gives the address of the pingback server that handles pingbacks to the current document.
  • `Prefetch: Specifies that the target resource should be preemptively cached.
  • `Prev: Indicates that the current document is a part of a series, and that the previous document in the series is the referenced document.
  • `Search: Gives a link to a resource that can be used to search through the current document and its related pages.
  • `Stylesheet: Imports a stylesheet.
  • `Sidebar: Specifies that the referenced document, if retrieved, is intended to be shown in the browser's sidebar (if it has one).
  • `Tag: Gives a tag (identified by the given address) that applies to the current document.
  • `Up: Provides a link to a document giving the context for the current document.
#
type mediadesc = [
| `All
| `Aural
| `Braille
| `Embossed
| `Handheld
| `Print
| `Projection
| `Screen
| `Speech
| `TTY
| `TV
| `Raw_mediadesc of string
] list

The MediaDesc attribute is a comma-separated list of media descriptors. The following is a list of recognized media descriptors:

  • `Screen: For non-paged computer screens.
  • `TTY: For media using a fixed-pitch character grid (like teletypes, terminals, or devices with limited display capabilities).
  • `TV: For TV-type devices (low resolution, limited scrollability).
  • `Projection: For projectors.
  • `Handheld: For handheld devices (small screen, limited bandwidth).
  • `Print: For paged and for documents viewed on screen in print preview mode.
  • `Braille: For braille tactile feedback devices.
  • `Aural: For speech synthesizers.
  • `All: For speech synthesizers.
  • `Raw_mediadesc: For more complex (untyped) media descriptors.
#
type multilength = [
| `Relative of int
]

The value may be a Length or a relative length. A relative length has the form "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.

#
type multilengths = multilength list

A comma separated list of items of type MultiLength.

#
type number = int
#
type numbers = number list
#
type float_number = float
#
type pixels = int

The value is an integer that represents the number of pixels of the canvas (screen, paper). Thus, the value "50" means fifty pixels. For normative information about the definition of a pixel, please consult CSS2.

#
type script_ = string

Script data can be the content of the "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.

#
type text = string

Arbitrary textual data, likely meant to be human-readable.

Core

#
type i18n = [
| `XML_lang
| `Lang
]
#
type core = [
| `Accesskey
| `Class
| `Contenteditable
| `Contextmenu
| `Dir
| `Draggable
| `Hidden
| `Id
| `Spellcheck
| `Style_Attr
| `Tabindex
| `Title
| `User_data
| `XMLns
]

Events

#
type events = [
| `OnAbort
| `OnBlur
| `OnCanPlay
| `OnCanPlayThrough
| `OnChange
| `OnClick
| `OnContextMenu
| `OnDblClick
| `OnDrag
| `OnDragEnd
| `OnDragEnter
| `OnDragLeave
| `OnDragOver
| `OnDragStart
| `OnDrop
| `OnDurationChange
| `OnEmptied
| `OnEnded
| `OnError
| `OnFocus
| `OnFormChange
| `OnFormInput
| `OnInput
| `OnInvalid
| `OnMouseDown
| `OnMouseUp
| `OnMouseOver
| `OnMouseMove
| `OnMouseOut
| `OnMouseWheel
| `OnPause
| `OnPlay
| `OnPlaying
| `OnProgress
| `OnRateChange
| `OnReadyStateChange
| `OnScroll
| `OnSeeked
| `OnSeeking
| `OnSelect
| `OnShow
| `OnStalled
| `OnSubmit
| `OnSuspend
| `OnTimeUpdate
| `OnVolumeChange
| `OnWaiting
| `OnKeyPress
| `OnKeyDown
| `OnKeyUp
| `OnLoad
| `OnLoadedData
| `OnLoadedMetaData
| `OnLoadStart
]

Javascript events

#
type common = [ ]

Common attributes

Categegories of HTML5 elements

#
type heading = [
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
| `Hgroup
]

These category are mainly subdivised in

  • interactive,
  • phrasing,
  • flow5, these categories may overlap
#
type sectioning = [
| `Section
| `Nav
| `Aside
| `Article
]
#
type resetable = [
| `Textarea
| `Select
| `Output
| `Keygen
| `Input
]
#
type submitable = [
| `Textarea
| `Select
| `Keygen
| `Input
| `Button
]
#
type labelable = [
| `Progress
| `Meter
| `Button
]
#
type labelable_without_interactive = [
| `Progress
| `Meter
]
#
type formatblock = [
| `Pre
| `P
| `Header
| `Footer
| `Div
| `Blockquote
| `Address
]
#
type sectionningroot = [
| `Td
| `Figure
| `Fieldset
| `Details
| `Body
| `Blockquote
]
#
type listed = [
| `Fieldset
]
#
type formassociated = [
| `Progress
| `Meter
| `Label
]
#
type (+'interactive, +'noscript, +'regular, +'media) transparent = [
| `A of 'interactive
| `Noscript of 'noscript
| `Canvas of 'regular
| `Map of 'regular
| `Ins of 'regular
| `Del of 'regular
| `Object of 'regular
| `Object_interactive of 'regular
| `Audio_interactive of 'media
| `Video_interactive of 'media
| `Audio of 'media
| `Video of 'media
]

Transparent elements. Such elements have a part of they children in their dataconsigor, and behaves like them. We could do something like =a: 'a elt list -> 'a elt but the information about the node name would be forgotten and would allow things like that : =p [a [a []]]. This system allow to build non-conforming terms such as a [a []] but when passed to a standard element (such as p), it will yield an error. Exception to that : if you embdedd the element in another transparent (of an another kind) : p [noscript (a [a []])] will be correctly typed.

#
type (+'noscript, +'regular, +'media) transparent_without_interactive = [
| `Noscript of 'noscript
| `Ins of 'regular
| `Del of 'regular
| `Object of 'regular
| `Canvas of 'regular
| `Map of 'regular
| `Audio of 'media
| `Video of 'media
]
#
type (+'interactive, +'regular, +'media) transparent_without_noscript = [
| `A of 'interactive
| `Ins of 'regular
| `Del of 'regular
| `Canvas of 'regular
| `Map of 'regular
| `Object of 'regular
| `Object_interactive of 'regular
| `Video of 'media
| `Audio of 'media
| `Video_interactive of 'media
| `Audio_interactive of 'media
]
#
type (+'interactive, +'noscript, +'regular) transparent_without_media = [
| `A of 'interactive
| `Noscript of 'noscript
| `Ins of 'regular
| `Del of 'regular
| `Map of 'regular
| `Canvas of 'regular
| `Object of 'regular
| `Object_interactive of 'regular
]
#
type metadata_without_title = [
| `Style
| `Script
| `Noscript of [
| `Meta
| `Link
| `Style
]
| `Meta
| `Link
| `Command
| `Base
]

Metadata without title

#
type metadata = [
| `Title
]

Metadata contents. Used specially in <head>

Interactive contents : contents that require user-interaction (Forms, link, etc.)

#
type core_interactive = [
| `Textarea
| `Select
| `Menu
| `Label
| `Keygen
| `Input
| `Img_interactive
| `Iframe
| `Embed
| `Details
| `Button
]

Core element types are element types without transparent.

#
type core_phrasing = [
| `Wbr
| `Var
| `U
| `Svg
| `Time
| `Sup
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Kbd
| `Iframe
| `I
| `Embed
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `Img
| `Img_interactive
| `PCDATA
]

Phrasing contents is inline contents : bold text, span, and so on.

#
type core_phrasing_without_noscript = [
| `Wbr
| `Var
| `U
| `Time
| `Sup
| `Sub
| `Svg
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Kbd
| `Iframe
| `I
| `Embed
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `Img
| `Img_interactive
| `B
| `Abbr
| `PCDATA
]
#
type core_phrasing_without_interactive = [
| `Wbr
| `Var
| `U
| `Img
| `Time
| `Sup
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Svg
| `Samp
| `Ruby
| `Q
| `Mark
| `Kbd
| `Img
| `I
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type core_phrasing_without_media = [
| `Wbr
| `Var
| `U
| `Time
| `Svg
| `Sup
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Kbd
| `Img
| `Img_interactive
| `Iframe
| `I
| `Embed
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type (+'a, +'b) between_phrasing_and_phrasing_without_interactive = ([< > `Abbr `B `Bdo `Br `Canvas `Cite `Code `Command `Datalist `Del `Dfn `Em `I `Img `Ins `Kbd `Map `Mark `Meter `Noscript `Object `PCDATA `Progress `Q `Ruby `Samp `Script `Small `Span `Strong `Sub `Sup `Svg `Time `U `Var `Wbr ] as 'a)
#
type phrasing_without_dfn = [
| `Wbr
| `Var
| `U
| `Time
| `Sup
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Img
| `Img_interactive
| `Kbd
| `I
| `Em
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]

Phrasing without the interactive markups

#
type phrasing_without_label = [
| `Wbr
| `Var
| `U
| `Time
| `Sup
| `Sub
| `Strong
| `Span
| `Img
| `Img_interactive
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Kbd
| `I
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type phrasing_without_progress = [
| `Wbr
| `Var
| `U
| `Time
| `Sup
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Img
| `Img_interactive
| `Ruby
| `Q
| `Meter
| `Mark
| `Label
| `Kbd
| `I
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Button
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type phrasing_without_time = [
| `Wbr
| `Var
| `U
| `Sup
| `Sub
| `Strong
| `Img
| `Img_interactive
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Kbd
| `I
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type phrasing_without_meter = [
| `Progress
| `Button
| `Wbr
| `Var
| `U
| `Time
| `Sup
| `Img
| `Img_interactive
| `Sub
| `Strong
| `Span
| `Small
| `Script
| `Samp
| `Ruby
| `Q
| `Mark
| `Label
| `Kbd
| `I
| `Em
| `Dfn
| `Datalist
| `Command
| `Code
| `Cite
| `Br
| `Bdo
| `B
| `Abbr
| `PCDATA
]
#
type core_flow5 = [
| `Ul
| `Table
| `Style
| `Ol
| `Menu
| `Hr
| `Form
| `Figure
| `Dl
| `Details
]
#
type core_flow5_without_interactive = [
| `Ul
| `Table
| `Style
| `Ol
| `Menu
| `Hr
| `Form
| `Figure
| `Dl
]
#
type core_flow5_without_noscript = [
| `Ul
| `Table
| `Style
| `Ol
| `Menu
| `Hr
| `Form
| `Figure
| `Dl
| `Details
]
#
type core_flow5_without_media = [
| `Ul
| `Table
| `Style
| `Ol
| `Menu
| `Hr
| `Form
| `Figure
| `Dl
| `Details
]
#
type flow5_without_table = [
| `Ul
| `Style
| `Ol
| `Menu
| `Hr
| `Form
| `Figure
| `Dl
| `Details
]
#
type flow5_without_form = [
| `Ul
| `Table
| `Style
| `Ol
| `Menu
| `Hr
| `Figure
| `Dl
| `Details
]
#
type pcdata = [
| `PCDATA
]
#
type notag
#
type no_attribute_allowed
#
type noattrib = [
| `No_attribute_allowed of no_attribute_allowed
]
#
type html = [
| `Html
]
#
type html_content_fun = [
| `Head
| `Body
]
#
type html_content = html_content_fun
#
type html_attrib = [
| `Manifest
]
#
type head = [
| `Head
]
#
type head_content = [ ]
#
type head_content_fun = [ ]
#
type head_attrib = [ ]
#
type body = [
| `Body
]
#
type body_attrib = [
| `OnAfterPrint
| `OnBeforePrint
| `OneBeforeUnload
| `OnHashChange
| `OnMessage
| `OnOffLine
| `OnOnLine
| `OnPageHide
| `OnPageShow
| `OnPopState
| `OnRedo
| `OnResize
| `OnStorage
| `OnUndo
| `OnUnload
]
#
type body_content = flow5
#
type body_content_fun = flow5
#
type svg = [
| `Svg
]
#
type svg_content = Svg_types.svg_content
#
type svg_attrib = Svg_types.svg_attr
#
type base = [
| `Base
]
#
type base_content = notag
#
type base_content_fun = notag
#
type base_attrib = [
| `Href
| `Target
]
#
type title = [
| `Title
]
#
type title_content = [
| `PCDATA
]
#
type title_content_fun = [
| `PCDATA
]
#
type title_attrib = noattrib
#
type footer = [
| `Footer
]
#
type footer_content = [ ]
#
type footer_content_fun = [ ]
#
type footer_attrib = [ ]
#
type header = [
| `Header
]
#
type header_content = [ ]
#
type header_content_fun = [ ]
#
type header_attrib = [ ]
#
type section = [
| `Section
]
#
type section_content = [ ]
#
type section_content_fun = [ ]
#
type section_attrib = [ ]
#
type nav = [
| `Nav
]
#
type nav_content = [ ]
#
type nav_content_fun = [ ]
#
type nav_attrib = [ ]
#
type h1 = [
| `H1
]
#
type h1_content = [ ]
#
type h1_content_fun = [ ]
#
type h1_attrib = [ ]
#
type h2 = [
| `H2
]
#
type h2_content = [ ]
#
type h2_content_fun = [ ]
#
type h2_attrib = [ ]
#
type h3 = [
| `H3
]
#
type h3_content = [ ]
#
type h3_content_fun = [ ]
#
type h3_attrib = [ ]
#
type h4 = [
| `H4
]
#
type h4_content = [ ]
#
type h4_content_fun = [ ]
#
type h4_attrib = [ ]
#
type h5 = [
| `H5
]
#
type h5_content = [ ]
#
type h5_content_fun = [ ]
#
type h5_attrib = [ ]
#
type h6 = [
| `H6
]
#
type h6_content = [ ]
#
type h6_content_fun = [ ]
#
type h6_attrib = [ ]
#
type hgroup = [
| `Hgroup
]
#
type hgroup_content = [
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
]
#
type hgroup_content_fun = [
| `H1
| `H2
| `H3
| `H4
| `H5
| `H6
]
#
type hgroup_attrib = [ ]
#
type address = [
| `Address
]
#
type address_attrib = [ ]
#
type article = [
| `Article
]
#
type article_content = [ ]
#
type article_content_fun = [ ]
#
type article_attrib = [ ]
#
type aside = [
| `Aside
]
#
type aside_content = [ ]
#
type aside_content_fun = [ ]
#
type aside_attrib = [ ]
#
type p = [
| `P
]
#
type p_content = [ ]
#
type p_content_fun = [ ]
#
type p_attrib = [ ]
#
type pre = [
| `Pre
]
#
type pre_content = [ ]
#
type pre_content_fun = [ ]
#
type pre_attrib = [ ]
#
type blockquote = [
| `Blockquote
]
#
type blockquote_content = [ ]
#
type blockquote_content_fun = [ ]
#
type blockquote_attrib = [
| `Cite
]
#
type div = [
| `Div
]
#
type div_content = [ ]
#
type div_content_fun = [ ]
#
type div_attrib = [ ]
#
type ol = [
| `Ol
]
#
type ol_content = [
| `Li of [
| `Int_Value
]
]
#
type ol_content_fun = [
| `Li of [
| `Int_Value
]
]
#
type ol_attrib = [
| `Reversed
| `Start
]
#
type li_content = [ ]
#
type li_content_fun = [ ]
#
type li_attrib = [
| `Int_Value
]
#
type li = [
| `Li of li_attrib
]
#
type ul = [
| `Ul
]
#
type ul_content = [
| `Li of [ ]
]
#
type ul_content_fun = [
| `Li of [ ]
]
#
type ul_attrib = [ ]
#
type dd = [
| `Dd
]
#
type dd_content = [ ]
#
type dd_content_fun = [ ]
#
type dd_attrib = [ ]
#
type dt = [
| `Dt
]
#
type dt_content = [ ]
#
type dt_content_fun = [ ]
#
type dt_attrib = [ ]
#
type dl = [
| `Dl
]
#
type dl_content = [
| `Dt
| `Dd
]
#
type dl_content_fun = [
| `Dt
| `Dd
]
#
type dl_attrib = [ ]
#
type figcaption = [
| `Figcaption
]
#
type figcaption_content = [ ]
#
type figcaption_content_fun = [ ]
#
type figcaption_attrib = [ ]
#
type figure = [
| `Figure
]
#
type figure_content = [ ]
#
type figure_content_fun = [ ]
#
type figure_attrib = [ ]
#
type rp = [
| `Rp
]
#
type rp_content = [ ]
#
type rp_content_fun = [ ]
#
type rp_attrib = [ ]
#
type rt = [
| `Rt
]
#
type rt_content = [ ]
#
type rt_content_fun = [ ]
#
type rt_attrib = [ ]
#
type ruby = [
| `Ruby
]
#
type ruby_content = [
| rp
| rt
]
#
type ruby_content_fun = [
| rp
| rt
]
#
type ruby_attrib = [ ]
#
type hr = [
| `Hr
]
#
type hr_content = notag
#
type hr_content_fun = notag
#
type hr_attrib = [ ]
#
type b = [
| `B
]
#
type b_content = [ ]
#
type b_content_fun = [ ]
#
type b_attrib = [ ]
#
type i = [
| `I
]
#
type i_content = [ ]
#
type i_content_fun = [ ]
#
type i_attrib = [ ]
#
type u = [
| `U
]
#
type u_content = [ ]
#
type u_content_fun = [ ]
#
type u_attrib = [ ]
#
type small = [
| `Small
]
#
type small_content = [ ]
#
type small_content_fun = [ ]
#
type small_attrib = [ ]
#
type sub = [
| `Sub
]
#
type sub_content = [ ]
#
type sub_content_fun = [ ]
#
type sub_attrib = [ ]
#
type sup = [
| `Sup
]
#
type sup_content = [ ]
#
type sup_content_fun = [ ]
#
type sup_attrib = [ ]
#
type mark = [
| `Mark
]
#
type mark_content = [ ]
#
type mark_content_fun = [ ]
#
type mark_attrib = [ ]
#
type wbr = [
| `Wbr
]
#
type wbr_content = notag
#
type wbr_content_fun = notag
#
type wbr_attrib = [ ]
#
type bdo = [
| `Bdo
]
#
type bdo_content = [ ]
#
type bdo_content_fun = [ ]
#
type bdo_attrib = [ ]
#
type abbr = [
| `Abbr
]
#
type abbr_content = [ ]
#
type abbr_content_fun = [ ]
#
type abbr_attrib = [ ]
#
type br = [
| `Br
]
#
type br_content = notag
#
type br_content_fun = notag
#
type br_attrib = [ ]
#
type cite = [
| `Cite
]
#
type cite_content = [ ]
#
type cite_content_fun = [ ]
#
type cite_attrib = [ ]
#
type code = [
| `Code
]
#
type code_content = [ ]
#
type code_content_fun = [ ]
#
type code_attrib = [ ]
#
type dfn = [
| `Dfn
]
#
type dfn_content = [ ]
#
type dfn_content_fun = [ ]
#
type dfn_attrib = [ ]
#
type em = [
| `Em
]
#
type em_content = [ ]
#
type em_content_fun = [ ]
#
type em_attrib = [ ]
#
type kbd = [
| `Kbd
]
#
type kbd_content = [ ]
#
type kbd_content_fun = [ ]
#
type kbd_attrib = [ ]
#
type q = [
| `Q
]
#
type q_content = [ ]
#
type q_content_fun = [ ]
#
type q_attrib = [
| `Cite
]
#
type samp = [
| `Samp
]
#
type samp_content = [ ]
#
type samp_content_fun = [ ]
#
type samp_attrib = [ ]
#
type span = [
| `Span
]
#
type span_content = [ ]
#
type span_content_fun = [ ]
#
type span_attrib = [ ]
#
type strong = [
| `Strong
]
#
type strong_content = [ ]
#
type strong_content_fun = [ ]
#
type strong_attrib = [ ]
#
type time = [
| `Time
]
#
type time_content = [ ]
#
type time_content_fun = [ ]
#
type time_attrib = [
| `Datetime
| `Pubdate
]
#
type var = [
| `Var
]
#
type var_content = [ ]
#
type var_content_fun = [ ]
#
type var_attrib = [ ]
#
type a_content = flow5_without_interactive
#
type a_content_fun = flow5_without_interactive
#
type 'a a = [
| `A of 'a
]
#
type a_ = [
| `A of a_content
]
#
type a_attrib = [
| `Href
| `Hreflang
| `Media
| `Rel
| `Target
| `Mime_type
]
#
type 'a del = [
| `Del of 'a
]
#
type del_content = flow5
#
type del_ = del_content del
#
type del_content_fun = flow5
#
type del_attrib = [
| `Cite
| `Datetime
]
#
type 'a ins = [
| `Ins of 'a
]
#
type ins_content = flow5
#
type ins_ = ins_content ins
#
type ins_content_fun = flow5
#
type ins_attrib = [
| `Cite
| `Datetime
]
#
type iframe = [
| `Iframe
]
#
type iframe_content = [
| `PCDATA
]
#
type iframe_content_fun = [
| `PCDATA
]
#
type iframe_attrib = [
| `Src
| `Name
| `Sandbox
| `Seamless
| `Width
| `Height
]
#
type object__content = [
| `Param
]
#
type object__content_fun = flow5
#
type 'a object_ = [
| `Object of 'a
| `Object_interactive of 'a
]
#
type object__ = object__content object_
#
type object__attrib = [
| `Data
| `Form
| `Mime_type
| `Height
| `Width
| `Name
| `Usemap
]
#
type param = [
| `Param
]
#
type param_content = notag
#
type param_content_fun = notag
#
type param_attrib = [
| `Name
| `Text_Value
]
#
type embed = [
| `Embed
]
#
type embed_content = notag
#
type embed_content_fun = notag
#
type embed_attrib = [
| `Src
| `Height
| `Mime_type
| `Width
]
#
type img = [
| `Img
]
#
type img_interactive = [
| `Img
| `Img_interactive
]
#
type img_content = notag
#
type img_content_fun = notag
#
type img_attrib = [
| `Height
| `Ismap
| `Width
]
#
type media_attrib = [
| `Crossorigin
| `Preload
| `Autoplay
| `Mediagroup
| `Loop
| `Muted
| `Controls
]
#
type 'a audio = [
| `Audio of 'a
]
#
type 'a audio_interactive = [
| `Audio of 'a
| `Audio_interactive of 'a
]
#
type audio_content = flow5_without_media
#
type audio_ = audio_content audio
#
type audio_content_fun = flow5_without_media
#
type audio_attrib = [ ]
#
type 'a video = [
| `Video of 'a
]
#
type 'a video_interactive = [
| `Video of 'a
| `Video_interactive of 'a
]
#
type video_content = flow5_without_media
#
type video_ = video_content video
#
type video_content_fun = flow5_without_media
#
type video_attrib = [
| `Poster
| `Width
| `Height
]
#
type 'a canvas = [
| `Canvas of 'a
]
#
type canvas_content = flow5
#
type canvas_ = canvas_content canvas
#
type canvas_content_fun = flow5
#
type canvas_attrib = [
| `Width
| `Height
]
#
type source = [
| `Source
]
#
type source_content = notag
#
type source_content_fun = notag
#
type source_attrib = [
| `Src
| `Mime_type
| `Media
]
#
type area = [
| `Area
]
#
type area_content = notag
#
type area_content_fun = notag
#
type area_attrib = [
| `Alt
| `Coords
| `Shape
| `Target
| `Rel
| `Media
| `Hreflang
| `Mime_type
]
#
type 'a map = [
| `Map of 'a
]
#
type map_content = flow5
#
type map_ = map_content map
#
type map_content_fun = flow5
#
type map_attrib = [
| `Name
]
#
type caption = [
| `Caption
]
#
type caption_content = [ ]
#
type caption_content_fun = [ ]
#
type caption_attrib = [ ]
#
type table = [
| `Table
]
#
type table_content = [
| `Tr
]
#
type table_content_fun = [
| `Tr
]
#
type table_attrib = [
| `Summary
]
#
type tablex = [
| `Table
]
#
type tablex_content = [
| `Tbody
]
#
type tablex_content_fun = [
| `Tbody
]
#
type tablex_attrib = [
| `Summary
]
#
type colgroup = [
| `Colgroup
]
#
type colgroup_content = [
| `Col
]
#
type colgroup_content_fun = [
| `Col
]
#
type colgroup_attrib = [
| `Span
]
#
type col = [
| `Col
]
#
type col_content = notag
#
type col_content_fun = notag
#
type col_attrib = [
| `Span
]
#
type thead = [
| `Thead
]
#
type thead_content = [
| `Tr
]
#
type thead_content_fun = [
| `Tr
]
#
type thead_attrib = [ ]
#
type tbody = [
| `Tbody
]
#
type tbody_content = [
| `Tr
]
#
type tbody_content_fun = [
| `Tr
]
#
type tbody_attrib = [ ]
#
type tfoot = [
| `Tfoot
]
#
type tfoot_content = [
| `Tr
]
#
type tfoot_content_fun = [
| `Tr
]
#
type tfoot_attrib = [ ]
#
type td = [
| `Td
]
#
type td_content = [ ]
#
type td_content_fun = [ ]
#
type td_attrib = [
| `Colspan
| `Headers
| `Rowspan
]
#
type th = [
| `Th
]
#
type th_content = [ ]
#
type th_content_fun = [ ]
#
type th_attrib = [
| `Colspan
| `Headers
| `Rowspan
| `Scope
]
#
type tr = [
| `Tr
]
#
type tr_content = [
| `Td
| `Th
]
#
type tr_content_fun = [
| `Td
| `Th
]
#
type tr_attrib = [ ]
#
type form = [
| `Form
]
#
type form_content = [ ]
#
type form_content_fun = [ ]
#
type form_attrib = [
| `Accept_charset
| `Action
| `Enctype
| `Method
| `Name
| `Target
| `Autocomplete
| `Novalidate
]
#
type fieldset = [
| `Fieldset
]
#
type fieldset_content = [ ]
#
type fieldset_content_fun = [ ]
#
type fieldset_attrib = [
| `Disabled
| `Form
| `Name
]
#
type legend = [
| `Legend
]
#
type legend_content = [ ]
#
type legend_content_fun = [ ]
#
type legend_attrib = [ ]
#
type label = [
| `Label
]
#
type label_content = [ ]
#
type label_content_fun = [ ]
#
type label_attrib = [
| `For
| `Form
]
#
type input = [
| `Input
]
#
type input_content = notag
#
type input_content_fun = notag
#
type input_attrib = [
| `Accept
| `Alt
| `Autocomplete
| `Autofocus
| `Checked
| `Disabled
| `Form
| `Formation
| `Formenctype
| `Formmethod
| `Formnovalidate
| `Formtarget
| `Height
| `List
| `Input_Max
| `Maxlength
| `Input_Min
| `Multiple
| `Name
| `Pattern
| `Placeholder
| `ReadOnly
| `Required
| `Size
| `Src
| `Step
| `Input_Type
| `Value
| `Width
]
#
type textarea = [
| `Textarea
]
#
type textarea_attrib = [
| `Autofocus
| `Disabled
| `Form
| `Maxlength
| `Name
| `Placeholder
| `ReadOnly
| `Required
| `Wrap
| `Rows
| `Cols
]
#
type textarea_content = [
| `PCDATA
]
#
type textarea_content_fun = textarea_content
#
type button = [
| `Button
]
#
type button_content = [ ]
#
type button_content_fun = [ ]
#
type button_attrib = [
| `Autofocus
| `Disabled
| `Form
| `Formaction
| `Formenctype
| `Formmethod
| `Formnovalidate
| `Formtarget
| `Name
| `Text_Value
| `Button_Type
]
#
type select = [
| `Select
]
#
type select_content = [
| `Optgroup
| `Option
]
#
type select_content_fun = [
| `Optgroup
| `Option
]
#
type select_attrib = [
| `Autofocus
| `Multiple
| `Name
| `Size
| `Form
| `Disabled
| `Required
]
#
type datalist = [
| `Datalist
]
#
type datalist_content = notag
#
type datalist_content_fun = notag
#
type datalist_attrib = [ ]
#
type optgroup = [
| `Optgroup
]
#
type optgroup_content = [
| `Option
]
#
type optgroup_content_fun = [
| `Option
]
#
type optgroup_attrib = [
| `Disabled
| `Label
]
#
type option_attrib = [
| `Selected
| `Text_Value
| `Disabled
| `Label
| `Value
]
#
type selectoption = [
| `Option
]
#
type option_content_fun = [
| `PCDATA
]
#
type option_content = [
| `PCDATA
]
#
type keygen = [
| `Keygen
]
#
type keygen_content = notag
#
type keygen_content_fun = notag
#
type keygen_attrib = [
| `Autofcus
| `Challenge
| `Disabled
| `Form
| `Keytype
| `Name
]
#
type progress = [
| `Progress
]
#
type progress_content = [ ]
#
type progress_content_fun = [ ]
#
type progress_attrib = [
| `Float_Value
| `Max
| `Form
]
#
type meter = [
| `Meter
]
#
type meter_content = [ ]
#
type meter_content_fun = [ ]
#
type meter_attrib = [
| `Float_Value
| `Min
| `Max
| `Low
| `High
| `Optimum
| `Form
]
#
type output_elt = [
| `Output
]
#
type output_elt_content = [ ]
#
type output_elt_content_fun = [ ]
#
type output_elt_attrib = [
| `Form
| `For_List
| `Name
]
#
type details = [
| `Details
]
#
type details_content = [ ]
#
type details_content_fun = [ ]
#
type details_attrib = [
| `Open
]
#
type summary = [
| `Summary
]
#
type summary_content = [ ]
#
type summary_content_fun = [ ]
#
type summary_attrib = [ ]
#
type command = [
| `Command
]
#
type command_content = notag
#
type command_content_fun = notag
#
type command_attrib = [
| `Icon
| `Disabled
| `Checked
| `Radiogroup
| `Command_Type
]
#
type menu = [
| `Menu
]
#
type menu_content = notag
#
type menu_content_fun = notag
#
type menu_attrib = [
| `Label
| `Menu_Type
]
#
type noscript = [
| `Noscript of flow5_without_noscript
]
#
type noscript_content = flow5_without_noscript
#
type noscript_content_fun = flow5_without_noscript
#
type noscript_attrib = [ ]
#
type meta = [
| `Meta
]
#
type meta_content = notag
#
type meta_content_fun = notag
#
type meta_attrib = [
| `Http_equiv
| `Name
| `Content
| `Charset
| `Property
]
#
type style = [
| `Style
]
#
type style_content = [
| `PCDATA
]
#
type style_content_fun = [
| `PCDATA
]
#
type style_attrib = [
| `Media
| `Mime_type
| `Scoped
]
#
type script = [
| `Script
]
#
type script_attrib = [
| `Async
| `Charset
| `Src
| `Defer
| `Mime_type
]
#
type script_content = [
| `PCDATA
]
#
type script_content_fun = [
| `PCDATA
]
end