OCaml HTML5 parser/serialiser based on Python's JustHTML
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 54 lines 2.0 kB view raw
1(** HTML5 embedded content element specifications. 2 3 Embedded content elements import resources into the document. 4 See https://html.spec.whatwg.org/multipage/embedded-content.html *) 5 6val picture : Element_spec.t 7(** The picture element contains zero or more source elements followed by 8 one img element to offer alternative versions of an image for different 9 display scenarios. *) 10 11val source : Element_spec.t 12(** The source element specifies multiple media resources for picture, audio, 13 and video elements. It is a void element. *) 14 15val img : Element_spec.t 16(** The img element represents an image. It is a void element. *) 17 18val iframe : Element_spec.t 19(** The iframe element represents a nested browsing context. *) 20 21val embed : Element_spec.t 22(** The embed element provides an integration point for an external application 23 or interactive content. It is a void element. *) 24 25val object_ : Element_spec.t 26(** The object element can represent an external resource, which is treated as 27 an image, a nested browsing context, or a plugin. *) 28 29val param : Element_spec.t 30(** The param element defines parameters for plugins invoked by object elements. 31 Deprecated in favor of using data attributes. It is a void element. *) 32 33val video : Element_spec.t 34(** The video element is used for playing videos or movies, and audio files 35 with captions. *) 36 37val audio : Element_spec.t 38(** The audio element represents a sound or audio stream. *) 39 40val track : Element_spec.t 41(** The track element allows authors to specify explicit external timed text 42 tracks for media elements. It is a void element. *) 43 44val map : Element_spec.t 45(** The map element, in conjunction with img and area elements, defines an 46 image map. *) 47 48val area : Element_spec.t 49(** The area element represents either a hyperlink with some text and a 50 corresponding area on an image map, or a dead area on an image map. 51 It is a void element. *) 52 53val all : Element_spec.t list 54(** List of all embedded content element specifications. *)