OCaml HTML5 parser/serialiser based on Python's JustHTML
1(** HTML5 interactive and scripting element specifications.
2
3 Interactive elements are specifically intended for user interaction,
4 and scripting elements support scripts in the document.
5 See https://html.spec.whatwg.org/multipage/interactive-elements.html
6 and https://html.spec.whatwg.org/multipage/scripting.html *)
7
8val details : Element_spec.t
9(** The details element represents a disclosure widget from which the user can
10 obtain additional information or controls. *)
11
12val summary : Element_spec.t
13(** The summary element represents a summary, caption, or legend for the rest
14 of the contents of the summary element's parent details element. *)
15
16val dialog : Element_spec.t
17(** The dialog element represents a part of an application that a user
18 interacts with to perform a task, such as a dialog box or modal. *)
19
20val script : Element_spec.t
21(** The script element allows authors to include dynamic script and data blocks
22 in their documents. *)
23
24val noscript : Element_spec.t
25(** The noscript element represents fallback content for when scripting is
26 disabled or not supported. *)
27
28val template : Element_spec.t
29(** The template element is used to declare fragments of HTML that can be cloned
30 and inserted in the document by script. *)
31
32val slot : Element_spec.t
33(** The slot element is used as a placeholder inside a web component that users
34 can fill with their own markup. *)
35
36val canvas : Element_spec.t
37(** The canvas element provides scripts with a resolution-dependent bitmap
38 canvas for rendering graphs, game graphics, art, or other visual images. *)
39
40val all : Element_spec.t list
41(** List of all interactive and scripting element specifications. *)