Module Tyxml_html
Typesafe constructors and printers for Html documents.
- see http://www.w3.org/TR/html5/
W3C Recommendation
Concrete implementation of Html typesafe constructors. See Html_sigs.T.
include Html_sigs.Make(Tyxml_xml)(Tyxml_svg).T with module Xml.W = Xml_wrap.NoWrap
type +'a elttype doc= Html_types.html elttype +'a attrib
module Xml : sig ... endtype 'a wrap= 'a Xml.W.ttype 'a list_wrap= 'a Xml.W.tlisttype ('a, 'b) nullary= ?a:'a attrib list -> unit -> 'b elttype ('a, 'b, 'c) unary= ?a:'a attrib list -> 'b elt wrap -> 'c elttype ('a, 'b, 'c) star= ?a:'a attrib list -> 'b elt list_wrap -> 'c elt
module Info : Xml_sigs.Infotype uri= Xml.uri
val string_of_uri : (uri, string) Xml.W.ftval uri_of_string : (string, uri) Xml.W.ftval a_class : Html_types.nmtokens wrap -> [> `Class ] attribval a_user_data : Html_types.nmtoken -> Html_types.text wrap -> [> `User_data ] attribval a_id : Html_types.text wrap -> [> `Id ] attribval a_title : Html_types.text wrap -> [> `Title ] attribval a_xml_lang : Html_types.languagecode wrap -> [> `XML_lang ] attribval a_lang : Html_types.languagecode wrap -> [> `Lang ] attribval a_onabort : Xml.event_handler -> [> `OnAbort ] attribval a_onafterprint : Xml.event_handler -> [> `OnAfterPrint ] attribval a_onbeforeprint : Xml.event_handler -> [> `OnBeforePrint ] attribval a_onbeforeunload : Xml.event_handler -> [> `OnBeforeUnload ] attribval a_onblur : Xml.event_handler -> [> `OnBlur ] attribval a_oncanplay : Xml.event_handler -> [> `OnCanPlay ] attribval a_oncanplaythrough : Xml.event_handler -> [> `OnCanPlayThrough ] attribval a_onchange : Xml.event_handler -> [> `OnChange ] attribval a_ondurationchange : Xml.event_handler -> [> `OnDurationChange ] attribval a_onemptied : Xml.event_handler -> [> `OnEmptied ] attribval a_onended : Xml.event_handler -> [> `OnEnded ] attribval a_onerror : Xml.event_handler -> [> `OnError ] attribval a_onfocus : Xml.event_handler -> [> `OnFocus ] attribval a_onformchange : Xml.event_handler -> [> `OnFormChange ] attribval a_onforminput : Xml.event_handler -> [> `OnFormInput ] attribval a_onhashchange : Xml.event_handler -> [> `OnHashChange ] attribval a_oninput : Xml.event_handler -> [> `OnInput ] attribval a_oninvalid : Xml.event_handler -> [> `OnInvalid ] attribval a_onmousewheel : Xml.event_handler -> [> `OnMouseWheel ] attribval a_onoffline : Xml.event_handler -> [> `OnOffLine ] attribval a_ononline : Xml.event_handler -> [> `OnOnLine ] attribval a_onpause : Xml.event_handler -> [> `OnPause ] attribval a_onplay : Xml.event_handler -> [> `OnPlay ] attribval a_onplaying : Xml.event_handler -> [> `OnPlaying ] attribval a_onpagehide : Xml.event_handler -> [> `OnPageHide ] attribval a_onpageshow : Xml.event_handler -> [> `OnPageShow ] attribval a_onpopstate : Xml.event_handler -> [> `OnPopState ] attribval a_onprogress : Xml.event_handler -> [> `OnProgress ] attribval a_onratechange : Xml.event_handler -> [> `OnRateChange ] attribval a_onreadystatechange : Xml.event_handler -> [> `OnReadyStateChange ] attribval a_onredo : Xml.event_handler -> [> `OnRedo ] attribval a_onresize : Xml.event_handler -> [> `OnResize ] attribval a_onscroll : Xml.event_handler -> [> `OnScroll ] attribval a_onseeked : Xml.event_handler -> [> `OnSeeked ] attribval a_onseeking : Xml.event_handler -> [> `OnSeeking ] attribval a_onselect : Xml.event_handler -> [> `OnSelect ] attribval a_onshow : Xml.event_handler -> [> `OnShow ] attribval a_onstalled : Xml.event_handler -> [> `OnStalled ] attribval a_onstorage : Xml.event_handler -> [> `OnStorage ] attribval a_onsubmit : Xml.event_handler -> [> `OnSubmit ] attribval a_onsuspend : Xml.event_handler -> [> `OnSuspend ] attribval a_ontimeupdate : Xml.event_handler -> [> `OnTimeUpdate ] attribval a_onundo : Xml.event_handler -> [> `OnUndo ] attribval a_onunload : Xml.event_handler -> [> `OnUnload ] attribval a_onvolumechange : Xml.event_handler -> [> `OnVolumeChange ] attribval a_onwaiting : Xml.event_handler -> [> `OnWaiting ] attribval a_onload : Xml.event_handler -> [> `OnLoad ] attribval a_onloadeddata : Xml.event_handler -> [> `OnLoadedData ] attribval a_onloadedmetadata : Xml.event_handler -> [> `OnLoadedMetaData ] attribval a_onloadstart : Xml.event_handler -> [> `OnLoadStart ] attribval a_onmessage : Xml.event_handler -> [> `OnMessage ] attribval a_onclick : Xml.mouse_event_handler -> [> `OnClick ] attribval a_ondblclick : Xml.mouse_event_handler -> [> `OnDblClick ] attribval a_ondrag : Xml.mouse_event_handler -> [> `OnDrag ] attribval a_ondragend : Xml.mouse_event_handler -> [> `OnDragEnd ] attribval a_ondragenter : Xml.mouse_event_handler -> [> `OnDragEnter ] attribval a_ondragleave : Xml.mouse_event_handler -> [> `OnDragLeave ] attribval a_ondragover : Xml.mouse_event_handler -> [> `OnDragOver ] attribval a_ondragstart : Xml.mouse_event_handler -> [> `OnDragStart ] attribval a_ondrop : Xml.mouse_event_handler -> [> `OnDrop ] attribval a_onmousedown : Xml.mouse_event_handler -> [> `OnMouseDown ] attribval a_onmouseup : Xml.mouse_event_handler -> [> `OnMouseUp ] attribval a_onmouseover : Xml.mouse_event_handler -> [> `OnMouseOver ] attribval a_onmousemove : Xml.mouse_event_handler -> [> `OnMouseMove ] attribval a_onmouseout : Xml.mouse_event_handler -> [> `OnMouseOut ] attribval a_ontouchstart : Xml.touch_event_handler -> [> `OnTouchStart ] attribval a_ontouchend : Xml.touch_event_handler -> [> `OnTouchEnd ] attribval a_ontouchmove : Xml.touch_event_handler -> [> `OnTouchMove ] attribval a_ontouchcancel : Xml.touch_event_handler -> [> `OnTouchCancel ] attribval a_onkeypress : Xml.keyboard_event_handler -> [> `OnKeyPress ] attribval a_onkeydown : Xml.keyboard_event_handler -> [> `OnKeyDown ] attribval a_onkeyup : Xml.keyboard_event_handler -> [> `OnKeyUp ] attribval a_autocomplete : bool wrap -> [> `Autocomplete ] attribval a_async : unit -> [> `Async ] attribval a_autofocus : unit -> [> `Autofocus ] attribval a_autoplay : unit -> [> `Autoplay ] attribval a_muted : unit -> [> `Muted ] attribval a_crossorigin : [< `Anonymous | `Use_credentials ] wrap -> [> `Crossorigin ] attribval a_mediagroup : string wrap -> [> `Mediagroup ] attribval a_challenge : Html_types.text wrap -> [> `Challenge ] attribval a_contenteditable : bool wrap -> [> `Contenteditable ] attribval a_controls : unit -> [> `Controls ] attribval a_dir : [< `Ltr | `Rtl ] wrap -> [> `Dir ] attribval a_draggable : bool wrap -> [> `Draggable ] attribval a_form : Html_types.idref wrap -> [> `Form ] attribval a_formaction : Xml.uri wrap -> [> `Formaction ] attribval a_formenctype : Html_types.contenttype wrap -> [> `Formenctype ] attribval a_formnovalidate : unit -> [> `Formnovalidate ] attribval a_formtarget : Html_types.text wrap -> [> `Formtarget ] attribval a_high : Html_types.float_number wrap -> [> `High ] attribval a_icon : Xml.uri wrap -> [> `Icon ] attribval a_ismap : unit -> [> `Ismap ] attribval a_keytype : Html_types.text wrap -> [> `Keytype ] attribval a_list : Html_types.idref wrap -> [> `List ] attribval a_loop : unit -> [> `Loop ] attribval a_low : Html_types.float_number wrap -> [> `High ] attribval a_max : Html_types.float_number wrap -> [> `Max ] attribval a_input_max : Html_types.number_or_datetime wrap -> [> `Input_Max ] attribval a_min : Html_types.float_number wrap -> [> `Min ] attribval a_input_min : Html_types.number_or_datetime wrap -> [> `Input_Min ] attribval a_inputmode : [< `Email | `Full_width_latin | `Kana | `Katakana | `Latin | `Latin_name | `Latin_prose | `Numeric | `Tel | `Url | `Verbatim ] wrap -> [> `Inputmode ] attribval a_novalidate : unit -> [> `Novalidate ] attribval a_open : unit -> [> `Open ] attribval a_optimum : Html_types.float_number wrap -> [> `Optimum ] attribval a_pattern : Html_types.text wrap -> [> `Pattern ] attribval a_placeholder : Html_types.text wrap -> [> `Placeholder ] attribval a_poster : Xml.uri wrap -> [> `Poster ] attribval a_preload : [< `Audio | `Metadata | `None ] wrap -> [> `Preload ] attribval a_pubdate : unit -> [> `Pubdate ] attribval a_radiogroup : Html_types.text wrap -> [> `Radiogroup ] attribval a_required : unit -> [> `Required ] attribval a_reversed : unit -> [> `Reversed ] attribval a_sandbox : [< Html_types.sandbox_token ] list wrap -> [> `Sandbox ] attribval a_spellcheck : bool wrap -> [> `Spellcheck ] attribval a_scoped : unit -> [> `Scoped ] attribval a_seamless : unit -> [> `Seamless ] attribval a_sizes : (Html_types.number * Html_types.number) list option wrap -> [> `Sizes ] attribval a_span : Html_types.number wrap -> [> `Span ] attribval a_srclang : Html_types.nmtoken wrap -> [> `XML_lang ] attrib
type image_candidate=[|`Url of uri|`Url_pixel of uri * Html_types.float_number|`Url_width of uri * Html_types.number]
val a_srcset : image_candidate list wrap -> [> `Srcset ] attribval a_img_sizes : Html_types.text list wrap -> [> `Img_sizes ] attribval a_start : Html_types.number wrap -> [> `Start ] attribval a_step : Html_types.float_number option wrap -> [> `Step ] attribval a_wrap : [< `Hard | `Soft ] wrap -> [> `Wrap ] attribval a_version : Html_types.cdata wrap -> [> `Version ] attribval a_xmlns : [< `W3_org_1999_xhtml ] wrap -> [> `XMLns ] attribval a_manifest : Xml.uri wrap -> [> `Manifest ] attribval a_cite : Xml.uri wrap -> [> `Cite ] attribval a_xml_space : [< `Default | `Preserve ] wrap -> [> `XML_space ] attribval a_accesskey : Html_types.character wrap -> [> `Accesskey ] attribval a_charset : Html_types.charset wrap -> [> `Charset ] attribval a_accept_charset : Html_types.charsets wrap -> [> `Accept_charset ] attribval a_accept : Html_types.contenttypes wrap -> [> `Accept ] attribval a_href : Xml.uri wrap -> [> `Href ] attribval a_hreflang : Html_types.languagecode wrap -> [> `Hreflang ] attribval a_download : string option wrap -> [> `Download ] attribval a_rel : Html_types.linktypes wrap -> [> `Rel ] attribval a_tabindex : Html_types.number wrap -> [> `Tabindex ] attribval a_mime_type : Html_types.contenttype wrap -> [> `Mime_type ] attribval a_datetime : Html_types.cdata wrap -> [> `Datetime ] attribval a_action : Xml.uri wrap -> [> `Action ] attribval a_checked : unit -> [> `Checked ] attribval a_cols : Html_types.number wrap -> [> `Cols ] attribval a_enctype : Html_types.contenttype wrap -> [> `Enctype ] attribval a_label_for : Html_types.idref wrap -> [> `Label_for ] attribval a_for : Html_types.idref wrap -> [> `Label_for ] attribval a_output_for : Html_types.idrefs wrap -> [> `Output_for ] attribval a_for_list : Html_types.idrefs wrap -> [> `Output_for ] attribval a_maxlength : Html_types.number wrap -> [> `Maxlength ] attribval a_minlength : Html_types.number wrap -> [> `Minlength ] attribval a_method : [< `Get | `Post ] wrap -> [> `Method ] attribval a_formmethod : [< `Get | `Post ] wrap -> [> `Method ] attribval a_multiple : unit -> [> `Multiple ] attribval a_name : Html_types.text wrap -> [> `Name ] attribval a_rows : Html_types.number wrap -> [> `Rows ] attribval a_selected : unit -> [> `Selected ] attribval a_size : Html_types.number wrap -> [> `Size ] attribval a_src : Xml.uri wrap -> [> `Src ] attribval a_input_type : [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] wrap -> [> `Input_Type ] attribval a_text_value : Html_types.text wrap -> [> `Text_Value ] attribval a_int_value : Html_types.number wrap -> [> `Int_Value ] attribval a_value : Html_types.cdata wrap -> [> `Value ] attribval a_float_value : Html_types.float_number wrap -> [> `Float_Value ] attribval a_disabled : unit -> [> `Disabled ] attribval a_readonly : unit -> [> `ReadOnly ] attribval a_button_type : [< `Button | `Reset | `Submit ] wrap -> [> `Button_Type ] attribval a_command_type : [< `Checkbox | `Command | `Radio ] wrap -> [> `Command_Type ] attribval a_label : Html_types.text wrap -> [> `Label ] attribval a_align : [< `Char | `Justify | `Left | `Right ] wrap -> [> `Align ] attribval a_axis : Html_types.cdata wrap -> [> `Axis ] attribval a_colspan : Html_types.number wrap -> [> `Colspan ] attribval a_headers : Html_types.idrefs wrap -> [> `Headers ] attribval a_rowspan : Html_types.number wrap -> [> `Rowspan ] attribval a_scope : [< `Col | `Colgroup | `Row | `Rowgroup ] wrap -> [> `Scope ] attribval a_summary : Html_types.text wrap -> [> `Summary ] attribval a_border : Html_types.pixels wrap -> [> `Border ] attribval a_rules : [< `All | `Cols | `Groups | `None | `Rows ] wrap -> [> `Rules ] attribval a_char : Html_types.character wrap -> [> `Char ] attribval a_alt : Html_types.text wrap -> [> `Alt ] attribval a_height : Html_types.number wrap -> [> `Height ] attribval a_width : Html_types.number wrap -> [> `Width ] attrib
val a_shape : shape wrap -> [> `Shape ] attribval a_coords : Html_types.numbers wrap -> [> `Coords ] attribval a_usemap : Html_types.idref wrap -> [> `Usemap ] attribval a_data : Xml.uri wrap -> [> `Data ] attribval a_codetype : Html_types.contenttype wrap -> [> `Codetype ] attribval a_frameborder : [< `One | `Zero ] wrap -> [> `Frameborder ] attribval a_marginheight : Html_types.pixels wrap -> [> `Marginheight ] attribval a_marginwidth : Html_types.pixels wrap -> [> `Marginwidth ] attribval a_scrolling : [< `Auto | `No | `Yes ] wrap -> [> `Scrolling ] attribval a_target : Html_types.frametarget wrap -> [> `Target ] attribval a_content : Html_types.text wrap -> [> `Content ] attribval a_http_equiv : Html_types.text wrap -> [> `Http_equiv ] attribval a_defer : unit -> [> `Defer ] attribval a_media : Html_types.mediadesc wrap -> [> `Media ] attribval a_style : string wrap -> [> `Style_Attr ] attribval a_property : string wrap -> [> `Property ] attribval a_role : string list wrap -> [> `Role ] attribval a_aria : string -> string list wrap -> [> `Aria ] attribval txt : string wrap -> [> Html_types.txt ] eltval html : ?a:Html_types.html_attrib attrib list -> [< Html_types.head ] elt wrap -> [< Html_types.body ] elt wrap -> [> Html_types.html ] eltval head : ?a:Html_types.head_attrib attrib list -> [< Html_types.title ] elt wrap -> Html_types.head_content_fun elt list_wrap -> [> Html_types.head ] eltval base : ([< Html_types.base_attrib ], [> Html_types.base ]) nullaryval title : (Html_types.title_attrib, [< Html_types.title_content_fun ], [> Html_types.title ]) unaryval body : ([< Html_types.body_attrib ], [< Html_types.body_content_fun ], [> Html_types.body ]) starval svg : ?a:[< Html_types.svg_attrib ] Tyxml_svg.attrib list -> [< Html_types.svg_content ] Tyxml_svg.elt list_wrap -> [> Html_types.svg ] eltval header : ([< Html_types.header_attrib ], [< Html_types.header_content_fun ], [> Html_types.header ]) starval section : ([< Html_types.section_attrib ], [< Html_types.section_content_fun ], [> Html_types.section ]) starval h1 : ([< Html_types.h1_attrib ], [< Html_types.h1_content_fun ], [> Html_types.h1 ]) starval h2 : ([< Html_types.h2_attrib ], [< Html_types.h2_content_fun ], [> Html_types.h2 ]) starval h3 : ([< Html_types.h3_attrib ], [< Html_types.h3_content_fun ], [> Html_types.h3 ]) starval h4 : ([< Html_types.h4_attrib ], [< Html_types.h4_content_fun ], [> Html_types.h4 ]) starval h5 : ([< Html_types.h5_attrib ], [< Html_types.h5_content_fun ], [> Html_types.h5 ]) starval h6 : ([< Html_types.h6_attrib ], [< Html_types.h6_content_fun ], [> Html_types.h6 ]) starval hgroup : ([< Html_types.hgroup_attrib ], [< Html_types.hgroup_content_fun ], [> Html_types.hgroup ]) starval address : ([< Html_types.address_attrib ], [< Html_types.address_content_fun ], [> Html_types.address ]) starval article : ([< Html_types.article_attrib ], [< Html_types.article_content_fun ], [> Html_types.article ]) starval aside : ([< Html_types.aside_attrib ], [< Html_types.aside_content_fun ], [> Html_types.aside ]) starval main : ([< Html_types.main_attrib ], [< Html_types.main_content_fun ], [> Html_types.main ]) starval p : ([< Html_types.p_attrib ], [< Html_types.p_content_fun ], [> Html_types.p ]) starval pre : ([< Html_types.pre_attrib ], [< Html_types.pre_content_fun ], [> Html_types.pre ]) starval blockquote : ([< Html_types.blockquote_attrib ], [< Html_types.blockquote_content_fun ], [> Html_types.blockquote ]) starval div : ([< Html_types.div_attrib ], [< Html_types.div_content_fun ], [> Html_types.div ]) starval dl : ([< Html_types.dl_attrib ], [< Html_types.dl_content_fun ], [> Html_types.dl ]) starval ol : ([< Html_types.ol_attrib ], [< Html_types.ol_content_fun ], [> Html_types.ol ]) starval ul : ([< Html_types.ul_attrib ], [< Html_types.ul_content_fun ], [> Html_types.ul ]) starval dd : ([< Html_types.dd_attrib ], [< Html_types.dd_content_fun ], [> Html_types.dd ]) starval dt : ([< Html_types.dt_attrib ], [< Html_types.dt_content_fun ], [> Html_types.dt ]) starval li : ([< Html_types.li_attrib ], [< Html_types.li_content_fun ], [> Html_types.li ]) starval figcaption : ([< Html_types.figcaption_attrib ], [< Html_types.figcaption_content_fun ], [> Html_types.figcaption ]) starval figure : ?figcaption:[ `Bottom of [< Html_types.figcaption ] elt wrap | `Top of [< Html_types.figcaption ] elt wrap ] -> ([< Html_types.figure_attrib ], [< Html_types.figure_content_fun ], [> Html_types.figure ]) starval hr : ([< Html_types.hr_attrib ], [> Html_types.hr ]) nullaryval b : ([< Html_types.b_attrib ], [< Html_types.b_content_fun ], [> Html_types.b ]) starval i : ([< Html_types.i_attrib ], [< Html_types.i_content_fun ], [> Html_types.i ]) starval u : ([< Html_types.u_attrib ], [< Html_types.u_content_fun ], [> Html_types.u ]) starval small : ([< Html_types.small_attrib ], [< Html_types.small_content_fun ], [> Html_types.small ]) starval sub : ([< Html_types.sub_attrib ], [< Html_types.sub_content_fun ], [> Html_types.sub ]) starval sup : ([< Html_types.sup_attrib ], [< Html_types.sup_content_fun ], [> Html_types.sup ]) starval mark : ([< Html_types.mark_attrib ], [< Html_types.mark_content_fun ], [> Html_types.mark ]) starval wbr : ([< Html_types.wbr_attrib ], [> Html_types.wbr ]) nullaryval bdo : dir:[< `Ltr | `Rtl ] wrap -> ([< Html_types.bdo_attrib ], [< Html_types.bdo_content_fun ], [> Html_types.bdo ]) starval abbr : ([< Html_types.abbr_attrib ], [< Html_types.abbr_content_fun ], [> Html_types.abbr ]) starval br : ([< Html_types.br_attrib ], [> Html_types.br ]) nullaryval cite : ([< Html_types.cite_attrib ], [< Html_types.cite_content_fun ], [> Html_types.cite ]) starval code : ([< Html_types.code_attrib ], [< Html_types.code_content_fun ], [> Html_types.code ]) starval dfn : ([< Html_types.dfn_attrib ], [< Html_types.dfn_content_fun ], [> Html_types.dfn ]) starval em : ([< Html_types.em_attrib ], [< Html_types.em_content_fun ], [> Html_types.em ]) starval kbd : ([< Html_types.kbd_attrib ], [< Html_types.kbd_content_fun ], [> Html_types.kbd ]) starval q : ([< Html_types.q_attrib ], [< Html_types.q_content_fun ], [> Html_types.q ]) starval samp : ([< Html_types.samp_attrib ], [< Html_types.samp_content_fun ], [> Html_types.samp ]) starval span : ([< Html_types.span_attrib ], [< Html_types.span_content_fun ], [> Html_types.span ]) starval strong : ([< Html_types.strong_attrib ], [< Html_types.strong_content_fun ], [> Html_types.strong ]) starval time : ([< Html_types.time_attrib ], [< Html_types.time_content_fun ], [> Html_types.time ]) starval var : ([< Html_types.var_attrib ], [< Html_types.var_content_fun ], [> Html_types.var ]) starval a : ([< Html_types.a_attrib ], 'a, [> 'a Html_types.a ]) starval del : ([< Html_types.del_attrib ], 'a, [> 'a Html_types.del ]) starval ins : ([< Html_types.ins_attrib ], 'a, [> 'a Html_types.ins ]) starval img : src:Xml.uri wrap -> alt:Html_types.text wrap -> ([< Html_types.img_attrib ], [> Html_types.img ]) nullaryval iframe : ([< Html_types.iframe_attrib ], [< Html_types.iframe_content_fun ], [> Html_types.iframe ]) starval object_ : ?params:[< Html_types.param ] elt list_wrap -> ([< Html_types.object__attrib ], 'a, [> `Object of 'a ]) starval param : ([< Html_types.param_attrib ], [> Html_types.param ]) nullaryval embed : ([< Html_types.embed_attrib ], [> Html_types.embed ]) nullaryval audio : ?src:Xml.uri wrap -> ?srcs:[< Html_types.source ] elt list_wrap -> ([< Html_types.audio_attrib ], 'a, [> 'a Html_types.audio ]) starval video : ?src:Xml.uri wrap -> ?srcs:[< Html_types.source ] elt list_wrap -> ([< Html_types.video_attrib ], 'a, [> 'a Html_types.video ]) starval canvas : ([< Html_types.canvas_attrib ], 'a, [> 'a Html_types.canvas ]) starval source : ([< Html_types.source_attrib ], [> Html_types.source ]) nullaryval area : alt:Html_types.text wrap -> ([< `Accesskey | `Alt | `Aria | `Class | `Contenteditable | `Contextmenu | `Coords | `Dir | `Draggable | `Hidden | `Hreflang | `Id | `Lang | `Media | `Mime_type | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnTouchCancel | `OnTouchEnd | `OnTouchMove | `OnTouchStart | `OnVolumeChange | `OnWaiting | `Rel | `Role | `Shape | `Spellcheck | `Style_Attr | `Tabindex | `Target | `Title | `User_data | `XML_lang | `XMLns ], [> Html_types.area ]) nullaryval map : ([< Html_types.map_attrib ], 'a, [> 'a Html_types.map ]) starval caption : ([< Html_types.caption_attrib ], [< Html_types.caption_content_fun ], [> Html_types.caption ]) starval table : ?caption:[< Html_types.caption ] elt wrap -> ?columns:[< Html_types.colgroup ] elt list_wrap -> ?thead:[< Html_types.thead ] elt wrap -> ?tfoot:[< Html_types.tfoot ] elt wrap -> ([< Html_types.table_attrib ], [< Html_types.table_content_fun ], [> Html_types.table ]) starval tablex : ?caption:[< Html_types.caption ] elt wrap -> ?columns:[< Html_types.colgroup ] elt list_wrap -> ?thead:[< Html_types.thead ] elt wrap -> ?tfoot:[< Html_types.tfoot ] elt wrap -> ([< Html_types.tablex_attrib ], [< Html_types.tablex_content_fun ], [> Html_types.tablex ]) starval colgroup : ([< Html_types.colgroup_attrib ], [< Html_types.colgroup_content_fun ], [> Html_types.colgroup ]) starval col : ([< Html_types.col_attrib ], [> Html_types.col ]) nullaryval thead : ([< Html_types.thead_attrib ], [< Html_types.thead_content_fun ], [> Html_types.thead ]) starval tbody : ([< Html_types.tbody_attrib ], [< Html_types.tbody_content_fun ], [> Html_types.tbody ]) starval tfoot : ([< Html_types.tfoot_attrib ], [< Html_types.tfoot_content_fun ], [> Html_types.tfoot ]) starval td : ([< Html_types.td_attrib ], [< Html_types.td_content_fun ], [> Html_types.td ]) starval th : ([< Html_types.th_attrib ], [< Html_types.th_content_fun ], [> Html_types.th ]) starval tr : ([< Html_types.tr_attrib ], [< Html_types.tr_content_fun ], [> Html_types.tr ]) starval form : ([< Html_types.form_attrib ], [< Html_types.form_content_fun ], [> Html_types.form ]) starval fieldset : ?legend:[< Html_types.legend ] elt wrap -> ([< Html_types.fieldset_attrib ], [< Html_types.fieldset_content_fun ], [> Html_types.fieldset ]) starval legend : ([< Html_types.legend_attrib ], [< Html_types.legend_content_fun ], [> Html_types.legend ]) starval label : ([< Html_types.label_attrib ], [< Html_types.label_content_fun ], [> Html_types.label ]) starval input : ([< Html_types.input_attrib ], [> Html_types.input ]) nullaryval button : ([< Html_types.button_attrib ], [< Html_types.button_content_fun ], [> Html_types.button ]) starval select : ([< Html_types.select_attrib ], [< Html_types.select_content_fun ], [> Html_types.select ]) starval datalist : ?children:[< `Options of [< Html_types.selectoption ] elt list_wrap | `Phras of [< Html_types.phrasing ] elt list_wrap ] -> ([< Html_types.datalist_attrib ], [> Html_types.datalist ]) nullaryval optgroup : label:Html_types.text wrap -> ([< Html_types.optgroup_attrib ], [< Html_types.optgroup_content_fun ], [> Html_types.optgroup ]) starval option : ([< Html_types.option_attrib ], [< Html_types.option_content_fun ], [> Html_types.selectoption ]) unaryval textarea : ([< Html_types.textarea_attrib ], [< Html_types.textarea_content_fun ], [> Html_types.textarea ]) unaryval keygen : ([< Html_types.keygen_attrib ], [> Html_types.keygen ]) nullaryval progress : ([< Html_types.progress_attrib ], [< Html_types.progress_content_fun ], [> Html_types.progress ]) starval meter : ([< Html_types.meter_attrib ], [< Html_types.meter_content_fun ], [> Html_types.meter ]) starval output_elt : ([< Html_types.output_elt_attrib ], [< Html_types.output_elt_content_fun ], [> Html_types.output_elt ]) starval entity : string -> [> Html_types.txt ] eltval space : unit -> [> Html_types.txt ] eltval cdata : string -> [> Html_types.txt ] eltval cdata_script : string -> [> Html_types.txt ] eltval cdata_style : string -> [> Html_types.txt ] eltval details : [< Html_types.summary ] elt wrap -> ([< Html_types.details_attrib ], [< Html_types.details_content_fun ], [> Html_types.details ]) starval summary : ([< Html_types.summary_attrib ], [< Html_types.summary_content_fun ], [> Html_types.summary ]) starval command : label:Html_types.text wrap -> ([< Html_types.command_attrib ], [> Html_types.command ]) nullaryval script : ([< Html_types.script_attrib ], [< Html_types.script_content_fun ], [> Html_types.script ]) unaryval noscript : ([< Html_types.noscript_attrib ], [< Html_types.noscript_content_fun ], [> Html_types.noscript ]) starval meta : ([< Html_types.meta_attrib ], [> Html_types.meta ]) nullaryval style : ([< Html_types.style_attrib ], [< Html_types.style_content_fun ], [> Html_types.style ]) starval link : rel:Html_types.linktypes wrap -> href:Xml.uri wrap -> ([< Html_types.link_attrib ], [> Html_types.link ]) nullaryval rt : ([< Html_types.rt_attrib ], [< Html_types.rt_content_fun ], [> Html_types.rt ]) starval rp : ([< Html_types.rp_attrib ], [< Html_types.rp_content_fun ], [> Html_types.rp ]) starval ruby : ([< Html_types.ruby_attrib ], [< Html_types.ruby_content_fun ], [> Html_types.ruby ]) starval pcdata : string wrap -> [> Html_types.pcdata ] eltval of_seq : Xml_stream.signal Stdlib.Seq.t -> 'a elt list_wrapval tot : Xml.elt -> 'a eltval totl : Xml.elt list_wrap -> 'a elt list_wrapval toelt : 'a elt -> Xml.eltval toeltl : 'a elt list_wrap -> Xml.elt list_wrapval doc_toelt : doc -> Xml.eltval to_xmlattribs : 'a attrib list -> Xml.attrib listval to_attrib : Xml.attrib -> 'a attrib
module Unsafe : sig ... endPrinters
val pp : ?encode:(string -> string) -> ?indent:bool -> ?advert:string -> unit -> Stdlib.Format.formatter -> doc -> unitpp ()is aFormatprinter for Html documents.It can be used in combination with
"%a". For example, to get a string:let s = Format.asprintf "%a" (Tyxml.Html.pp ()) my_html
val pp_elt : ?encode:(string -> string) -> ?indent:bool -> unit -> Stdlib.Format.formatter -> 'a elt -> unitpp_elt ()is aFormatprinter for Html elements.
module Make_printer : functor (O : Xml_sigs.Output) -> Xml_sigs.Typed_printer with type out := O.out and type 'a elt := 'a elt and type doc := docParametrized stream printer for Html documents.