(** This interface corresponds to the XHTML 1.0 Strict DTD. *) type events = {{ { onkeyup=?String onkeydown=?String onkeypress=?String onmouseout=?String onmousemove=?String onmouseover=?String onmouseup=?String onmousedown=?String ondblclick=?String onclick=?String } }} type valign = {{ "top" | "middle" | "bottom" | "baseline" }} type align = {{ "left" | "center" | "right" | "justify" | "char" }} type scope = {{ "row" | "col" | "rowgroup" | "colgroup" }} type shape = {{ "rect" | "circle" | "poly" | "default" }} type id = {{ { id=?String } }} type coreattrs = {{ { title=?String style=?String class=?String } ++ id }} type i18n = {{ { dir=?"ltr"|"rtl" xml:lang=?String lang=?String } }} type focus = {{ { onblur=?String onfocus=?String tabindex=?String accesskey=?String } }} type attrs = {{ coreattrs ++ i18n ++ events }} type align_attrs = {{ attrs ++ { valign =? valign align =? align char =? String charoff =? String } }} (* Text elements *) type special_pre = {{ br | span | bdo | _map }} and special = {{ special_pre | _object | img }} and fontstyle = {{ tt | i | b | big | small }} and phrase = {{ em | strong | dfn | code | q | samp | kbd | var | cite | abbr | acronym | sub | sup }} and inline_forms = {{ input | select | textarea | label | button }} and misc_inline = {{ ins | del | script }} and misc = {{ noscript | misc_inline }} and inline = {{ a | special | fontstyle | phrase | inline_forms }} and inlines = {{ [ (Char | inline | misc_inline)* ] }} (* Block level elements *) and heading = {{ h1 | h2 | h3 | h4 | h5 | h6 }} and lists = {{ ul | ol | dl }} and blocktext = {{ pre | hr | blockquote | address }} and block = {{ p | heading | _div | lists | blocktext | fieldset | table }} and blocks = {{ [ (block | form | misc)* ] }} and flows = {{ [ (Char | block | form | inline | misc)* ] }} (* Content models for exclusions *) (* Document structure *) and html = {{ [ head body ] }} and head_misc = {{ script|style|meta|link|_object }} and head = {{
[ head_misc* title head_misc* base? head_misc* | head_misc* base head_misc* title head_misc* ] }} and title = {{