html_compose.elements.body_element

  1from typing import Literal, Iterable, Mapping
  2
  3from ..attributes import GlobalAttrs, BodyAttrs
  4from ..base_attribute import BaseAttribute
  5from ..base_element import BaseElement
  6from ..base_types import Resolvable, StrLike
  7
  8# This file is generated by tools/generate_elements.py
  9
 10
 11class body(BaseElement):
 12    """
 13    The 'body' element.  
 14    Description: Document body  
 15    Categories: none  
 16    Parents: html  
 17    Children: flow  
 18    Interface: HTMLBodyElement  
 19    Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body  
 20    """  # fmt: skip
 21
 22    tag = "body"
 23    categories = ["none"]
 24
 25    class hint(GlobalAttrs, BodyAttrs):
 26        """
 27        Type hints for "body" attrs  
 28        This class holds functions which return BaseAttributes  
 29        Which you can add to your element attrs  
 30        """  # fmt: skip
 31
 32        pass
 33
 34    _ = hint
 35
 36    def __init__(
 37        self,
 38        attrs: Iterable[BaseAttribute]
 39        | Mapping[str, Resolvable]
 40        | Iterable[
 41            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 42        ]
 43        | None = None,
 44        id: StrLike | None = None,
 45        class_: Resolvable | None = None,
 46        onafterprint: StrLike | None = None,
 47        onbeforeprint: StrLike | None = None,
 48        onbeforeunload: StrLike | None = None,
 49        onhashchange: StrLike | None = None,
 50        onlanguagechange: StrLike | None = None,
 51        onmessage: StrLike | None = None,
 52        onmessageerror: StrLike | None = None,
 53        onoffline: StrLike | None = None,
 54        ononline: StrLike | None = None,
 55        onpagehide: StrLike | None = None,
 56        onpagereveal: StrLike | None = None,
 57        onpageshow: StrLike | None = None,
 58        onpageswap: StrLike | None = None,
 59        onpopstate: StrLike | None = None,
 60        onrejectionhandled: StrLike | None = None,
 61        onstorage: StrLike | None = None,
 62        onunhandledrejection: StrLike | None = None,
 63        onunload: StrLike | None = None,
 64        accesskey: Resolvable | StrLike | None = None,
 65        autocapitalize: Literal[
 66            "on", "off", "none", "sentences", "words", "characters"
 67        ]
 68        | StrLike
 69        | None = None,
 70        autocorrect: Literal["on", "off"] | StrLike | None = None,
 71        autofocus: bool | StrLike | None = None,
 72        contenteditable: Literal["true", "plaintext-only", "false"]
 73        | StrLike
 74        | None = None,
 75        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 76        draggable: Literal["true", "false"] | StrLike | None = None,
 77        enterkeyhint: Literal[
 78            "enter", "done", "go", "next", "previous", "search", "send"
 79        ]
 80        | StrLike
 81        | None = None,
 82        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 83        inert: bool | StrLike | None = None,
 84        inputmode: Literal[
 85            "none",
 86            "text",
 87            "tel",
 88            "email",
 89            "url",
 90            "numeric",
 91            "decimal",
 92            "search",
 93        ]
 94        | StrLike
 95        | None = None,
 96        is_: StrLike | None = None,
 97        itemid: StrLike | None = None,
 98        itemprop: Resolvable | StrLike | None = None,
 99        itemref: Resolvable | StrLike | None = None,
100        itemscope: bool | StrLike | None = None,
101        itemtype: Resolvable | StrLike | None = None,
102        lang: StrLike | None = None,
103        nonce: StrLike | None = None,
104        onauxclick: StrLike | None = None,
105        onbeforeinput: StrLike | None = None,
106        onbeforematch: StrLike | None = None,
107        onbeforetoggle: StrLike | None = None,
108        onblur: StrLike | None = None,
109        oncancel: StrLike | None = None,
110        oncanplay: StrLike | None = None,
111        oncanplaythrough: StrLike | None = None,
112        onchange: StrLike | None = None,
113        onclick: StrLike | None = None,
114        onclose: StrLike | None = None,
115        oncontextlost: StrLike | None = None,
116        oncontextmenu: StrLike | None = None,
117        oncontextrestored: StrLike | None = None,
118        oncopy: StrLike | None = None,
119        oncuechange: StrLike | None = None,
120        oncut: StrLike | None = None,
121        ondblclick: StrLike | None = None,
122        ondrag: StrLike | None = None,
123        ondragend: StrLike | None = None,
124        ondragenter: StrLike | None = None,
125        ondragleave: StrLike | None = None,
126        ondragover: StrLike | None = None,
127        ondragstart: StrLike | None = None,
128        ondrop: StrLike | None = None,
129        ondurationchange: StrLike | None = None,
130        onemptied: StrLike | None = None,
131        onended: StrLike | None = None,
132        onerror: StrLike | None = None,
133        onfocus: StrLike | None = None,
134        onformdata: StrLike | None = None,
135        oninput: StrLike | None = None,
136        oninvalid: StrLike | None = None,
137        onkeydown: StrLike | None = None,
138        onkeypress: StrLike | None = None,
139        onkeyup: StrLike | None = None,
140        onload: StrLike | None = None,
141        onloadeddata: StrLike | None = None,
142        onloadedmetadata: StrLike | None = None,
143        onloadstart: StrLike | None = None,
144        onmousedown: StrLike | None = None,
145        onmouseenter: StrLike | None = None,
146        onmouseleave: StrLike | None = None,
147        onmousemove: StrLike | None = None,
148        onmouseout: StrLike | None = None,
149        onmouseover: StrLike | None = None,
150        onmouseup: StrLike | None = None,
151        onpaste: StrLike | None = None,
152        onpause: StrLike | None = None,
153        onplay: StrLike | None = None,
154        onplaying: StrLike | None = None,
155        onprogress: StrLike | None = None,
156        onratechange: StrLike | None = None,
157        onreset: StrLike | None = None,
158        onresize: StrLike | None = None,
159        onscroll: StrLike | None = None,
160        onscrollend: StrLike | None = None,
161        onsecuritypolicyviolation: StrLike | None = None,
162        onseeked: StrLike | None = None,
163        onseeking: StrLike | None = None,
164        onselect: StrLike | None = None,
165        onslotchange: StrLike | None = None,
166        onstalled: StrLike | None = None,
167        onsubmit: StrLike | None = None,
168        onsuspend: StrLike | None = None,
169        ontimeupdate: StrLike | None = None,
170        ontoggle: StrLike | None = None,
171        onvolumechange: StrLike | None = None,
172        onwaiting: StrLike | None = None,
173        onwheel: StrLike | None = None,
174        popover: Literal["auto", "manual"] | StrLike | None = None,
175        slot: StrLike | None = None,
176        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
177        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
178        tabindex: int | StrLike | None = None,
179        title: StrLike | None = None,
180        translate: Literal["yes", "no"] | StrLike | None = None,
181        writingsuggestions: Literal["true", "false", ""]
182        | StrLike
183        | None = None,
184        children: list | None = None,
185    ) -> None:
186        """
187        Initialize 'body' (Document body) element.  
188        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
189
190        Args:
191            attrs: 
192                A list or dictionary of attributes for the element
193            
194            id:
195                The element's ID
196            
197            class_:
198                Classes to which the element belongs
199            
200            onafterprint:
201                afterprint event handler for Window object.  
202                Value hint: Event handler content attribute
203            
204            onbeforeprint:
205                beforeprint event handler for Window object.  
206                Value hint: Event handler content attribute
207            
208            onbeforeunload:
209                beforeunload event handler for Window object.  
210                Value hint: Event handler content attribute
211            
212            onhashchange:
213                hashchange event handler for Window object.  
214                Value hint: Event handler content attribute
215            
216            onlanguagechange:
217                languagechange event handler for Window object.  
218                Value hint: Event handler content attribute
219            
220            onmessage:
221                message event handler for Window object.  
222                Value hint: Event handler content attribute
223            
224            onmessageerror:
225                messageerror event handler for Window object.  
226                Value hint: Event handler content attribute
227            
228            onoffline:
229                offline event handler for Window object.  
230                Value hint: Event handler content attribute
231            
232            ononline:
233                online event handler for Window object.  
234                Value hint: Event handler content attribute
235            
236            onpagehide:
237                pagehide event handler for Window object.  
238                Value hint: Event handler content attribute
239            
240            onpagereveal:
241                pagereveal event handler for Window object.  
242                Value hint: Event handler content attribute
243            
244            onpageshow:
245                pageshow event handler for Window object.  
246                Value hint: Event handler content attribute
247            
248            onpageswap:
249                pageswap event handler for Window object.  
250                Value hint: Event handler content attribute
251            
252            onpopstate:
253                popstate event handler for Window object.  
254                Value hint: Event handler content attribute
255            
256            onrejectionhandled:
257                rejectionhandled event handler for Window object.  
258                Value hint: Event handler content attribute
259            
260            onstorage:
261                storage event handler for Window object.  
262                Value hint: Event handler content attribute
263            
264            onunhandledrejection:
265                unhandledrejection event handler for Window object.  
266                Value hint: Event handler content attribute
267            
268            onunload:
269                unload event handler for Window object.  
270                Value hint: Event handler content attribute
271            
272            accesskey:
273                Keyboard shortcut to activate or focus element
274            
275            autocapitalize:
276                Recommended autocapitalization behavior (for supported input methods)
277            
278            autocorrect:
279                Recommended autocorrection behavior (for supported input methods)
280            
281            autofocus:
282                Automatically focus the element when the page is loaded
283            
284            contenteditable:
285                Whether the element is editable
286            
287            dir:
288                The text directionality of the element
289            
290            draggable:
291                Whether the element is draggable
292            
293            enterkeyhint:
294                Hint for selecting an enter key action
295            
296            hidden:
297                Whether the element is relevant
298            
299            inert:
300                Whether the element is inert.
301            
302            inputmode:
303                Hint for selecting an input modality
304            
305            is_:
306                Creates a customized built-in element.  
307                Value hint: Valid custom element name of a defined customized built-in element
308            
309            itemid:
310                Global identifier for a microdata item.  
311                Value hint: Valid URL potentially surrounded by spaces
312            
313            itemprop:
314                Property names of a microdata item
315            
316            itemref:
317                Referenced elements
318            
319            itemscope:
320                Introduces a microdata item
321            
322            itemtype:
323                Item types of a microdata item
324            
325            lang:
326                Language of the element.  
327                Value hint: Valid BCP 47 language tag or the empty string
328            
329            nonce:
330                Cryptographic nonce used in Content Security Policy checks [CSP]
331            
332            onauxclick:
333                auxclick event handler.  
334                Value hint: Event handler content attribute
335            
336            onbeforeinput:
337                beforeinput event handler.  
338                Value hint: Event handler content attribute
339            
340            onbeforematch:
341                beforematch event handler.  
342                Value hint: Event handler content attribute
343            
344            onbeforetoggle:
345                beforetoggle event handler.  
346                Value hint: Event handler content attribute
347            
348            onblur:
349                blur event handler.  
350                Value hint: Event handler content attribute
351            
352            oncancel:
353                cancel event handler.  
354                Value hint: Event handler content attribute
355            
356            oncanplay:
357                canplay event handler.  
358                Value hint: Event handler content attribute
359            
360            oncanplaythrough:
361                canplaythrough event handler.  
362                Value hint: Event handler content attribute
363            
364            onchange:
365                change event handler.  
366                Value hint: Event handler content attribute
367            
368            onclick:
369                click event handler.  
370                Value hint: Event handler content attribute
371            
372            onclose:
373                close event handler.  
374                Value hint: Event handler content attribute
375            
376            oncontextlost:
377                contextlost event handler.  
378                Value hint: Event handler content attribute
379            
380            oncontextmenu:
381                contextmenu event handler.  
382                Value hint: Event handler content attribute
383            
384            oncontextrestored:
385                contextrestored event handler.  
386                Value hint: Event handler content attribute
387            
388            oncopy:
389                copy event handler.  
390                Value hint: Event handler content attribute
391            
392            oncuechange:
393                cuechange event handler.  
394                Value hint: Event handler content attribute
395            
396            oncut:
397                cut event handler.  
398                Value hint: Event handler content attribute
399            
400            ondblclick:
401                dblclick event handler.  
402                Value hint: Event handler content attribute
403            
404            ondrag:
405                drag event handler.  
406                Value hint: Event handler content attribute
407            
408            ondragend:
409                dragend event handler.  
410                Value hint: Event handler content attribute
411            
412            ondragenter:
413                dragenter event handler.  
414                Value hint: Event handler content attribute
415            
416            ondragleave:
417                dragleave event handler.  
418                Value hint: Event handler content attribute
419            
420            ondragover:
421                dragover event handler.  
422                Value hint: Event handler content attribute
423            
424            ondragstart:
425                dragstart event handler.  
426                Value hint: Event handler content attribute
427            
428            ondrop:
429                drop event handler.  
430                Value hint: Event handler content attribute
431            
432            ondurationchange:
433                durationchange event handler.  
434                Value hint: Event handler content attribute
435            
436            onemptied:
437                emptied event handler.  
438                Value hint: Event handler content attribute
439            
440            onended:
441                ended event handler.  
442                Value hint: Event handler content attribute
443            
444            onerror:
445                error event handler.  
446                Value hint: Event handler content attribute
447            
448            onfocus:
449                focus event handler.  
450                Value hint: Event handler content attribute
451            
452            onformdata:
453                formdata event handler.  
454                Value hint: Event handler content attribute
455            
456            oninput:
457                input event handler.  
458                Value hint: Event handler content attribute
459            
460            oninvalid:
461                invalid event handler.  
462                Value hint: Event handler content attribute
463            
464            onkeydown:
465                keydown event handler.  
466                Value hint: Event handler content attribute
467            
468            onkeypress:
469                keypress event handler.  
470                Value hint: Event handler content attribute
471            
472            onkeyup:
473                keyup event handler.  
474                Value hint: Event handler content attribute
475            
476            onload:
477                load event handler.  
478                Value hint: Event handler content attribute
479            
480            onloadeddata:
481                loadeddata event handler.  
482                Value hint: Event handler content attribute
483            
484            onloadedmetadata:
485                loadedmetadata event handler.  
486                Value hint: Event handler content attribute
487            
488            onloadstart:
489                loadstart event handler.  
490                Value hint: Event handler content attribute
491            
492            onmousedown:
493                mousedown event handler.  
494                Value hint: Event handler content attribute
495            
496            onmouseenter:
497                mouseenter event handler.  
498                Value hint: Event handler content attribute
499            
500            onmouseleave:
501                mouseleave event handler.  
502                Value hint: Event handler content attribute
503            
504            onmousemove:
505                mousemove event handler.  
506                Value hint: Event handler content attribute
507            
508            onmouseout:
509                mouseout event handler.  
510                Value hint: Event handler content attribute
511            
512            onmouseover:
513                mouseover event handler.  
514                Value hint: Event handler content attribute
515            
516            onmouseup:
517                mouseup event handler.  
518                Value hint: Event handler content attribute
519            
520            onpaste:
521                paste event handler.  
522                Value hint: Event handler content attribute
523            
524            onpause:
525                pause event handler.  
526                Value hint: Event handler content attribute
527            
528            onplay:
529                play event handler.  
530                Value hint: Event handler content attribute
531            
532            onplaying:
533                playing event handler.  
534                Value hint: Event handler content attribute
535            
536            onprogress:
537                progress event handler.  
538                Value hint: Event handler content attribute
539            
540            onratechange:
541                ratechange event handler.  
542                Value hint: Event handler content attribute
543            
544            onreset:
545                reset event handler.  
546                Value hint: Event handler content attribute
547            
548            onresize:
549                resize event handler.  
550                Value hint: Event handler content attribute
551            
552            onscroll:
553                scroll event handler.  
554                Value hint: Event handler content attribute
555            
556            onscrollend:
557                scrollend event handler.  
558                Value hint: Event handler content attribute
559            
560            onsecuritypolicyviolation:
561                securitypolicyviolation event handler.  
562                Value hint: Event handler content attribute
563            
564            onseeked:
565                seeked event handler.  
566                Value hint: Event handler content attribute
567            
568            onseeking:
569                seeking event handler.  
570                Value hint: Event handler content attribute
571            
572            onselect:
573                select event handler.  
574                Value hint: Event handler content attribute
575            
576            onslotchange:
577                slotchange event handler.  
578                Value hint: Event handler content attribute
579            
580            onstalled:
581                stalled event handler.  
582                Value hint: Event handler content attribute
583            
584            onsubmit:
585                submit event handler.  
586                Value hint: Event handler content attribute
587            
588            onsuspend:
589                suspend event handler.  
590                Value hint: Event handler content attribute
591            
592            ontimeupdate:
593                timeupdate event handler.  
594                Value hint: Event handler content attribute
595            
596            ontoggle:
597                toggle event handler.  
598                Value hint: Event handler content attribute
599            
600            onvolumechange:
601                volumechange event handler.  
602                Value hint: Event handler content attribute
603            
604            onwaiting:
605                waiting event handler.  
606                Value hint: Event handler content attribute
607            
608            onwheel:
609                wheel event handler.  
610                Value hint: Event handler content attribute
611            
612            popover:
613                Makes the element a popover element
614            
615            slot:
616                The element's desired slot
617            
618            spellcheck:
619                Whether the element is to have its spelling and grammar checked
620            
621            style:
622                Presentational and formatting instructions.  
623                Value hint: CSS declarations*
624            
625            tabindex:
626                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
627            
628            title:
629                Advisory information for the element
630            
631            translate:
632                Whether the element is to be translated when the page is localized
633            
634            writingsuggestions:
635                Whether the element can offer writing suggestions or not.
636            
637        """  # fmt: skip
638        super().__init__(
639            "body", void_element=False, attrs=attrs, children=children
640        )
641        if not (id is None or id is False):
642            self._process_attr("id", id)
643        if not (class_ is None or class_ is False):
644            self._process_attr("class", class_)
645        if not (onafterprint is None or onafterprint is False):
646            self._process_attr("onafterprint", onafterprint)
647        if not (onbeforeprint is None or onbeforeprint is False):
648            self._process_attr("onbeforeprint", onbeforeprint)
649        if not (onbeforeunload is None or onbeforeunload is False):
650            self._process_attr("onbeforeunload", onbeforeunload)
651        if not (onhashchange is None or onhashchange is False):
652            self._process_attr("onhashchange", onhashchange)
653        if not (onlanguagechange is None or onlanguagechange is False):
654            self._process_attr("onlanguagechange", onlanguagechange)
655        if not (onmessage is None or onmessage is False):
656            self._process_attr("onmessage", onmessage)
657        if not (onmessageerror is None or onmessageerror is False):
658            self._process_attr("onmessageerror", onmessageerror)
659        if not (onoffline is None or onoffline is False):
660            self._process_attr("onoffline", onoffline)
661        if not (ononline is None or ononline is False):
662            self._process_attr("ononline", ononline)
663        if not (onpagehide is None or onpagehide is False):
664            self._process_attr("onpagehide", onpagehide)
665        if not (onpagereveal is None or onpagereveal is False):
666            self._process_attr("onpagereveal", onpagereveal)
667        if not (onpageshow is None or onpageshow is False):
668            self._process_attr("onpageshow", onpageshow)
669        if not (onpageswap is None or onpageswap is False):
670            self._process_attr("onpageswap", onpageswap)
671        if not (onpopstate is None or onpopstate is False):
672            self._process_attr("onpopstate", onpopstate)
673        if not (onrejectionhandled is None or onrejectionhandled is False):
674            self._process_attr("onrejectionhandled", onrejectionhandled)
675        if not (onstorage is None or onstorage is False):
676            self._process_attr("onstorage", onstorage)
677        if not (onunhandledrejection is None or onunhandledrejection is False):
678            self._process_attr("onunhandledrejection", onunhandledrejection)
679        if not (onunload is None or onunload is False):
680            self._process_attr("onunload", onunload)
681        if not (accesskey is None or accesskey is False):
682            self._process_attr("accesskey", accesskey)
683        if not (autocapitalize is None or autocapitalize is False):
684            self._process_attr("autocapitalize", autocapitalize)
685        if not (autocorrect is None or autocorrect is False):
686            self._process_attr("autocorrect", autocorrect)
687        if not (autofocus is None or autofocus is False):
688            self._process_attr("autofocus", autofocus)
689        if not (contenteditable is None or contenteditable is False):
690            self._process_attr("contenteditable", contenteditable)
691        if not (dir is None or dir is False):
692            self._process_attr("dir", dir)
693        if not (draggable is None or draggable is False):
694            self._process_attr("draggable", draggable)
695        if not (enterkeyhint is None or enterkeyhint is False):
696            self._process_attr("enterkeyhint", enterkeyhint)
697        if not (hidden is None or hidden is False):
698            self._process_attr("hidden", hidden)
699        if not (inert is None or inert is False):
700            self._process_attr("inert", inert)
701        if not (inputmode is None or inputmode is False):
702            self._process_attr("inputmode", inputmode)
703        if not (is_ is None or is_ is False):
704            self._process_attr("is", is_)
705        if not (itemid is None or itemid is False):
706            self._process_attr("itemid", itemid)
707        if not (itemprop is None or itemprop is False):
708            self._process_attr("itemprop", itemprop)
709        if not (itemref is None or itemref is False):
710            self._process_attr("itemref", itemref)
711        if not (itemscope is None or itemscope is False):
712            self._process_attr("itemscope", itemscope)
713        if not (itemtype is None or itemtype is False):
714            self._process_attr("itemtype", itemtype)
715        if not (lang is None or lang is False):
716            self._process_attr("lang", lang)
717        if not (nonce is None or nonce is False):
718            self._process_attr("nonce", nonce)
719        if not (onauxclick is None or onauxclick is False):
720            self._process_attr("onauxclick", onauxclick)
721        if not (onbeforeinput is None or onbeforeinput is False):
722            self._process_attr("onbeforeinput", onbeforeinput)
723        if not (onbeforematch is None or onbeforematch is False):
724            self._process_attr("onbeforematch", onbeforematch)
725        if not (onbeforetoggle is None or onbeforetoggle is False):
726            self._process_attr("onbeforetoggle", onbeforetoggle)
727        if not (onblur is None or onblur is False):
728            self._process_attr("onblur", onblur)
729        if not (oncancel is None or oncancel is False):
730            self._process_attr("oncancel", oncancel)
731        if not (oncanplay is None or oncanplay is False):
732            self._process_attr("oncanplay", oncanplay)
733        if not (oncanplaythrough is None or oncanplaythrough is False):
734            self._process_attr("oncanplaythrough", oncanplaythrough)
735        if not (onchange is None or onchange is False):
736            self._process_attr("onchange", onchange)
737        if not (onclick is None or onclick is False):
738            self._process_attr("onclick", onclick)
739        if not (onclose is None or onclose is False):
740            self._process_attr("onclose", onclose)
741        if not (oncontextlost is None or oncontextlost is False):
742            self._process_attr("oncontextlost", oncontextlost)
743        if not (oncontextmenu is None or oncontextmenu is False):
744            self._process_attr("oncontextmenu", oncontextmenu)
745        if not (oncontextrestored is None or oncontextrestored is False):
746            self._process_attr("oncontextrestored", oncontextrestored)
747        if not (oncopy is None or oncopy is False):
748            self._process_attr("oncopy", oncopy)
749        if not (oncuechange is None or oncuechange is False):
750            self._process_attr("oncuechange", oncuechange)
751        if not (oncut is None or oncut is False):
752            self._process_attr("oncut", oncut)
753        if not (ondblclick is None or ondblclick is False):
754            self._process_attr("ondblclick", ondblclick)
755        if not (ondrag is None or ondrag is False):
756            self._process_attr("ondrag", ondrag)
757        if not (ondragend is None or ondragend is False):
758            self._process_attr("ondragend", ondragend)
759        if not (ondragenter is None or ondragenter is False):
760            self._process_attr("ondragenter", ondragenter)
761        if not (ondragleave is None or ondragleave is False):
762            self._process_attr("ondragleave", ondragleave)
763        if not (ondragover is None or ondragover is False):
764            self._process_attr("ondragover", ondragover)
765        if not (ondragstart is None or ondragstart is False):
766            self._process_attr("ondragstart", ondragstart)
767        if not (ondrop is None or ondrop is False):
768            self._process_attr("ondrop", ondrop)
769        if not (ondurationchange is None or ondurationchange is False):
770            self._process_attr("ondurationchange", ondurationchange)
771        if not (onemptied is None or onemptied is False):
772            self._process_attr("onemptied", onemptied)
773        if not (onended is None or onended is False):
774            self._process_attr("onended", onended)
775        if not (onerror is None or onerror is False):
776            self._process_attr("onerror", onerror)
777        if not (onfocus is None or onfocus is False):
778            self._process_attr("onfocus", onfocus)
779        if not (onformdata is None or onformdata is False):
780            self._process_attr("onformdata", onformdata)
781        if not (oninput is None or oninput is False):
782            self._process_attr("oninput", oninput)
783        if not (oninvalid is None or oninvalid is False):
784            self._process_attr("oninvalid", oninvalid)
785        if not (onkeydown is None or onkeydown is False):
786            self._process_attr("onkeydown", onkeydown)
787        if not (onkeypress is None or onkeypress is False):
788            self._process_attr("onkeypress", onkeypress)
789        if not (onkeyup is None or onkeyup is False):
790            self._process_attr("onkeyup", onkeyup)
791        if not (onload is None or onload is False):
792            self._process_attr("onload", onload)
793        if not (onloadeddata is None or onloadeddata is False):
794            self._process_attr("onloadeddata", onloadeddata)
795        if not (onloadedmetadata is None or onloadedmetadata is False):
796            self._process_attr("onloadedmetadata", onloadedmetadata)
797        if not (onloadstart is None or onloadstart is False):
798            self._process_attr("onloadstart", onloadstart)
799        if not (onmousedown is None or onmousedown is False):
800            self._process_attr("onmousedown", onmousedown)
801        if not (onmouseenter is None or onmouseenter is False):
802            self._process_attr("onmouseenter", onmouseenter)
803        if not (onmouseleave is None or onmouseleave is False):
804            self._process_attr("onmouseleave", onmouseleave)
805        if not (onmousemove is None or onmousemove is False):
806            self._process_attr("onmousemove", onmousemove)
807        if not (onmouseout is None or onmouseout is False):
808            self._process_attr("onmouseout", onmouseout)
809        if not (onmouseover is None or onmouseover is False):
810            self._process_attr("onmouseover", onmouseover)
811        if not (onmouseup is None or onmouseup is False):
812            self._process_attr("onmouseup", onmouseup)
813        if not (onpaste is None or onpaste is False):
814            self._process_attr("onpaste", onpaste)
815        if not (onpause is None or onpause is False):
816            self._process_attr("onpause", onpause)
817        if not (onplay is None or onplay is False):
818            self._process_attr("onplay", onplay)
819        if not (onplaying is None or onplaying is False):
820            self._process_attr("onplaying", onplaying)
821        if not (onprogress is None or onprogress is False):
822            self._process_attr("onprogress", onprogress)
823        if not (onratechange is None or onratechange is False):
824            self._process_attr("onratechange", onratechange)
825        if not (onreset is None or onreset is False):
826            self._process_attr("onreset", onreset)
827        if not (onresize is None or onresize is False):
828            self._process_attr("onresize", onresize)
829        if not (onscroll is None or onscroll is False):
830            self._process_attr("onscroll", onscroll)
831        if not (onscrollend is None or onscrollend is False):
832            self._process_attr("onscrollend", onscrollend)
833        if not (
834            onsecuritypolicyviolation is None
835            or onsecuritypolicyviolation is False
836        ):
837            self._process_attr(
838                "onsecuritypolicyviolation", onsecuritypolicyviolation
839            )
840        if not (onseeked is None or onseeked is False):
841            self._process_attr("onseeked", onseeked)
842        if not (onseeking is None or onseeking is False):
843            self._process_attr("onseeking", onseeking)
844        if not (onselect is None or onselect is False):
845            self._process_attr("onselect", onselect)
846        if not (onslotchange is None or onslotchange is False):
847            self._process_attr("onslotchange", onslotchange)
848        if not (onstalled is None or onstalled is False):
849            self._process_attr("onstalled", onstalled)
850        if not (onsubmit is None or onsubmit is False):
851            self._process_attr("onsubmit", onsubmit)
852        if not (onsuspend is None or onsuspend is False):
853            self._process_attr("onsuspend", onsuspend)
854        if not (ontimeupdate is None or ontimeupdate is False):
855            self._process_attr("ontimeupdate", ontimeupdate)
856        if not (ontoggle is None or ontoggle is False):
857            self._process_attr("ontoggle", ontoggle)
858        if not (onvolumechange is None or onvolumechange is False):
859            self._process_attr("onvolumechange", onvolumechange)
860        if not (onwaiting is None or onwaiting is False):
861            self._process_attr("onwaiting", onwaiting)
862        if not (onwheel is None or onwheel is False):
863            self._process_attr("onwheel", onwheel)
864        if not (popover is None or popover is False):
865            self._process_attr("popover", popover)
866        if not (slot is None or slot is False):
867            self._process_attr("slot", slot)
868        if not (spellcheck is None or spellcheck is False):
869            self._process_attr("spellcheck", spellcheck)
870        if not (style is None or style is False):
871            self._process_attr("style", style)
872        if not (tabindex is None or tabindex is False):
873            self._process_attr("tabindex", tabindex)
874        if not (title is None or title is False):
875            self._process_attr("title", title)
876        if not (translate is None or translate is False):
877            self._process_attr("translate", translate)
878        if not (writingsuggestions is None or writingsuggestions is False):
879            self._process_attr("writingsuggestions", writingsuggestions)
class body(html_compose.base_element.BaseElement):
 12class body(BaseElement):
 13    """
 14    The 'body' element.  
 15    Description: Document body  
 16    Categories: none  
 17    Parents: html  
 18    Children: flow  
 19    Interface: HTMLBodyElement  
 20    Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body  
 21    """  # fmt: skip
 22
 23    tag = "body"
 24    categories = ["none"]
 25
 26    class hint(GlobalAttrs, BodyAttrs):
 27        """
 28        Type hints for "body" attrs  
 29        This class holds functions which return BaseAttributes  
 30        Which you can add to your element attrs  
 31        """  # fmt: skip
 32
 33        pass
 34
 35    _ = hint
 36
 37    def __init__(
 38        self,
 39        attrs: Iterable[BaseAttribute]
 40        | Mapping[str, Resolvable]
 41        | Iterable[
 42            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 43        ]
 44        | None = None,
 45        id: StrLike | None = None,
 46        class_: Resolvable | None = None,
 47        onafterprint: StrLike | None = None,
 48        onbeforeprint: StrLike | None = None,
 49        onbeforeunload: StrLike | None = None,
 50        onhashchange: StrLike | None = None,
 51        onlanguagechange: StrLike | None = None,
 52        onmessage: StrLike | None = None,
 53        onmessageerror: StrLike | None = None,
 54        onoffline: StrLike | None = None,
 55        ononline: StrLike | None = None,
 56        onpagehide: StrLike | None = None,
 57        onpagereveal: StrLike | None = None,
 58        onpageshow: StrLike | None = None,
 59        onpageswap: StrLike | None = None,
 60        onpopstate: StrLike | None = None,
 61        onrejectionhandled: StrLike | None = None,
 62        onstorage: StrLike | None = None,
 63        onunhandledrejection: StrLike | None = None,
 64        onunload: StrLike | None = None,
 65        accesskey: Resolvable | StrLike | None = None,
 66        autocapitalize: Literal[
 67            "on", "off", "none", "sentences", "words", "characters"
 68        ]
 69        | StrLike
 70        | None = None,
 71        autocorrect: Literal["on", "off"] | StrLike | None = None,
 72        autofocus: bool | StrLike | None = None,
 73        contenteditable: Literal["true", "plaintext-only", "false"]
 74        | StrLike
 75        | None = None,
 76        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 77        draggable: Literal["true", "false"] | StrLike | None = None,
 78        enterkeyhint: Literal[
 79            "enter", "done", "go", "next", "previous", "search", "send"
 80        ]
 81        | StrLike
 82        | None = None,
 83        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 84        inert: bool | StrLike | None = None,
 85        inputmode: Literal[
 86            "none",
 87            "text",
 88            "tel",
 89            "email",
 90            "url",
 91            "numeric",
 92            "decimal",
 93            "search",
 94        ]
 95        | StrLike
 96        | None = None,
 97        is_: StrLike | None = None,
 98        itemid: StrLike | None = None,
 99        itemprop: Resolvable | StrLike | None = None,
100        itemref: Resolvable | StrLike | None = None,
101        itemscope: bool | StrLike | None = None,
102        itemtype: Resolvable | StrLike | None = None,
103        lang: StrLike | None = None,
104        nonce: StrLike | None = None,
105        onauxclick: StrLike | None = None,
106        onbeforeinput: StrLike | None = None,
107        onbeforematch: StrLike | None = None,
108        onbeforetoggle: StrLike | None = None,
109        onblur: StrLike | None = None,
110        oncancel: StrLike | None = None,
111        oncanplay: StrLike | None = None,
112        oncanplaythrough: StrLike | None = None,
113        onchange: StrLike | None = None,
114        onclick: StrLike | None = None,
115        onclose: StrLike | None = None,
116        oncontextlost: StrLike | None = None,
117        oncontextmenu: StrLike | None = None,
118        oncontextrestored: StrLike | None = None,
119        oncopy: StrLike | None = None,
120        oncuechange: StrLike | None = None,
121        oncut: StrLike | None = None,
122        ondblclick: StrLike | None = None,
123        ondrag: StrLike | None = None,
124        ondragend: StrLike | None = None,
125        ondragenter: StrLike | None = None,
126        ondragleave: StrLike | None = None,
127        ondragover: StrLike | None = None,
128        ondragstart: StrLike | None = None,
129        ondrop: StrLike | None = None,
130        ondurationchange: StrLike | None = None,
131        onemptied: StrLike | None = None,
132        onended: StrLike | None = None,
133        onerror: StrLike | None = None,
134        onfocus: StrLike | None = None,
135        onformdata: StrLike | None = None,
136        oninput: StrLike | None = None,
137        oninvalid: StrLike | None = None,
138        onkeydown: StrLike | None = None,
139        onkeypress: StrLike | None = None,
140        onkeyup: StrLike | None = None,
141        onload: StrLike | None = None,
142        onloadeddata: StrLike | None = None,
143        onloadedmetadata: StrLike | None = None,
144        onloadstart: StrLike | None = None,
145        onmousedown: StrLike | None = None,
146        onmouseenter: StrLike | None = None,
147        onmouseleave: StrLike | None = None,
148        onmousemove: StrLike | None = None,
149        onmouseout: StrLike | None = None,
150        onmouseover: StrLike | None = None,
151        onmouseup: StrLike | None = None,
152        onpaste: StrLike | None = None,
153        onpause: StrLike | None = None,
154        onplay: StrLike | None = None,
155        onplaying: StrLike | None = None,
156        onprogress: StrLike | None = None,
157        onratechange: StrLike | None = None,
158        onreset: StrLike | None = None,
159        onresize: StrLike | None = None,
160        onscroll: StrLike | None = None,
161        onscrollend: StrLike | None = None,
162        onsecuritypolicyviolation: StrLike | None = None,
163        onseeked: StrLike | None = None,
164        onseeking: StrLike | None = None,
165        onselect: StrLike | None = None,
166        onslotchange: StrLike | None = None,
167        onstalled: StrLike | None = None,
168        onsubmit: StrLike | None = None,
169        onsuspend: StrLike | None = None,
170        ontimeupdate: StrLike | None = None,
171        ontoggle: StrLike | None = None,
172        onvolumechange: StrLike | None = None,
173        onwaiting: StrLike | None = None,
174        onwheel: StrLike | None = None,
175        popover: Literal["auto", "manual"] | StrLike | None = None,
176        slot: StrLike | None = None,
177        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
178        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
179        tabindex: int | StrLike | None = None,
180        title: StrLike | None = None,
181        translate: Literal["yes", "no"] | StrLike | None = None,
182        writingsuggestions: Literal["true", "false", ""]
183        | StrLike
184        | None = None,
185        children: list | None = None,
186    ) -> None:
187        """
188        Initialize 'body' (Document body) element.  
189        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
190
191        Args:
192            attrs: 
193                A list or dictionary of attributes for the element
194            
195            id:
196                The element's ID
197            
198            class_:
199                Classes to which the element belongs
200            
201            onafterprint:
202                afterprint event handler for Window object.  
203                Value hint: Event handler content attribute
204            
205            onbeforeprint:
206                beforeprint event handler for Window object.  
207                Value hint: Event handler content attribute
208            
209            onbeforeunload:
210                beforeunload event handler for Window object.  
211                Value hint: Event handler content attribute
212            
213            onhashchange:
214                hashchange event handler for Window object.  
215                Value hint: Event handler content attribute
216            
217            onlanguagechange:
218                languagechange event handler for Window object.  
219                Value hint: Event handler content attribute
220            
221            onmessage:
222                message event handler for Window object.  
223                Value hint: Event handler content attribute
224            
225            onmessageerror:
226                messageerror event handler for Window object.  
227                Value hint: Event handler content attribute
228            
229            onoffline:
230                offline event handler for Window object.  
231                Value hint: Event handler content attribute
232            
233            ononline:
234                online event handler for Window object.  
235                Value hint: Event handler content attribute
236            
237            onpagehide:
238                pagehide event handler for Window object.  
239                Value hint: Event handler content attribute
240            
241            onpagereveal:
242                pagereveal event handler for Window object.  
243                Value hint: Event handler content attribute
244            
245            onpageshow:
246                pageshow event handler for Window object.  
247                Value hint: Event handler content attribute
248            
249            onpageswap:
250                pageswap event handler for Window object.  
251                Value hint: Event handler content attribute
252            
253            onpopstate:
254                popstate event handler for Window object.  
255                Value hint: Event handler content attribute
256            
257            onrejectionhandled:
258                rejectionhandled event handler for Window object.  
259                Value hint: Event handler content attribute
260            
261            onstorage:
262                storage event handler for Window object.  
263                Value hint: Event handler content attribute
264            
265            onunhandledrejection:
266                unhandledrejection event handler for Window object.  
267                Value hint: Event handler content attribute
268            
269            onunload:
270                unload event handler for Window object.  
271                Value hint: Event handler content attribute
272            
273            accesskey:
274                Keyboard shortcut to activate or focus element
275            
276            autocapitalize:
277                Recommended autocapitalization behavior (for supported input methods)
278            
279            autocorrect:
280                Recommended autocorrection behavior (for supported input methods)
281            
282            autofocus:
283                Automatically focus the element when the page is loaded
284            
285            contenteditable:
286                Whether the element is editable
287            
288            dir:
289                The text directionality of the element
290            
291            draggable:
292                Whether the element is draggable
293            
294            enterkeyhint:
295                Hint for selecting an enter key action
296            
297            hidden:
298                Whether the element is relevant
299            
300            inert:
301                Whether the element is inert.
302            
303            inputmode:
304                Hint for selecting an input modality
305            
306            is_:
307                Creates a customized built-in element.  
308                Value hint: Valid custom element name of a defined customized built-in element
309            
310            itemid:
311                Global identifier for a microdata item.  
312                Value hint: Valid URL potentially surrounded by spaces
313            
314            itemprop:
315                Property names of a microdata item
316            
317            itemref:
318                Referenced elements
319            
320            itemscope:
321                Introduces a microdata item
322            
323            itemtype:
324                Item types of a microdata item
325            
326            lang:
327                Language of the element.  
328                Value hint: Valid BCP 47 language tag or the empty string
329            
330            nonce:
331                Cryptographic nonce used in Content Security Policy checks [CSP]
332            
333            onauxclick:
334                auxclick event handler.  
335                Value hint: Event handler content attribute
336            
337            onbeforeinput:
338                beforeinput event handler.  
339                Value hint: Event handler content attribute
340            
341            onbeforematch:
342                beforematch event handler.  
343                Value hint: Event handler content attribute
344            
345            onbeforetoggle:
346                beforetoggle event handler.  
347                Value hint: Event handler content attribute
348            
349            onblur:
350                blur event handler.  
351                Value hint: Event handler content attribute
352            
353            oncancel:
354                cancel event handler.  
355                Value hint: Event handler content attribute
356            
357            oncanplay:
358                canplay event handler.  
359                Value hint: Event handler content attribute
360            
361            oncanplaythrough:
362                canplaythrough event handler.  
363                Value hint: Event handler content attribute
364            
365            onchange:
366                change event handler.  
367                Value hint: Event handler content attribute
368            
369            onclick:
370                click event handler.  
371                Value hint: Event handler content attribute
372            
373            onclose:
374                close event handler.  
375                Value hint: Event handler content attribute
376            
377            oncontextlost:
378                contextlost event handler.  
379                Value hint: Event handler content attribute
380            
381            oncontextmenu:
382                contextmenu event handler.  
383                Value hint: Event handler content attribute
384            
385            oncontextrestored:
386                contextrestored event handler.  
387                Value hint: Event handler content attribute
388            
389            oncopy:
390                copy event handler.  
391                Value hint: Event handler content attribute
392            
393            oncuechange:
394                cuechange event handler.  
395                Value hint: Event handler content attribute
396            
397            oncut:
398                cut event handler.  
399                Value hint: Event handler content attribute
400            
401            ondblclick:
402                dblclick event handler.  
403                Value hint: Event handler content attribute
404            
405            ondrag:
406                drag event handler.  
407                Value hint: Event handler content attribute
408            
409            ondragend:
410                dragend event handler.  
411                Value hint: Event handler content attribute
412            
413            ondragenter:
414                dragenter event handler.  
415                Value hint: Event handler content attribute
416            
417            ondragleave:
418                dragleave event handler.  
419                Value hint: Event handler content attribute
420            
421            ondragover:
422                dragover event handler.  
423                Value hint: Event handler content attribute
424            
425            ondragstart:
426                dragstart event handler.  
427                Value hint: Event handler content attribute
428            
429            ondrop:
430                drop event handler.  
431                Value hint: Event handler content attribute
432            
433            ondurationchange:
434                durationchange event handler.  
435                Value hint: Event handler content attribute
436            
437            onemptied:
438                emptied event handler.  
439                Value hint: Event handler content attribute
440            
441            onended:
442                ended event handler.  
443                Value hint: Event handler content attribute
444            
445            onerror:
446                error event handler.  
447                Value hint: Event handler content attribute
448            
449            onfocus:
450                focus event handler.  
451                Value hint: Event handler content attribute
452            
453            onformdata:
454                formdata event handler.  
455                Value hint: Event handler content attribute
456            
457            oninput:
458                input event handler.  
459                Value hint: Event handler content attribute
460            
461            oninvalid:
462                invalid event handler.  
463                Value hint: Event handler content attribute
464            
465            onkeydown:
466                keydown event handler.  
467                Value hint: Event handler content attribute
468            
469            onkeypress:
470                keypress event handler.  
471                Value hint: Event handler content attribute
472            
473            onkeyup:
474                keyup event handler.  
475                Value hint: Event handler content attribute
476            
477            onload:
478                load event handler.  
479                Value hint: Event handler content attribute
480            
481            onloadeddata:
482                loadeddata event handler.  
483                Value hint: Event handler content attribute
484            
485            onloadedmetadata:
486                loadedmetadata event handler.  
487                Value hint: Event handler content attribute
488            
489            onloadstart:
490                loadstart event handler.  
491                Value hint: Event handler content attribute
492            
493            onmousedown:
494                mousedown event handler.  
495                Value hint: Event handler content attribute
496            
497            onmouseenter:
498                mouseenter event handler.  
499                Value hint: Event handler content attribute
500            
501            onmouseleave:
502                mouseleave event handler.  
503                Value hint: Event handler content attribute
504            
505            onmousemove:
506                mousemove event handler.  
507                Value hint: Event handler content attribute
508            
509            onmouseout:
510                mouseout event handler.  
511                Value hint: Event handler content attribute
512            
513            onmouseover:
514                mouseover event handler.  
515                Value hint: Event handler content attribute
516            
517            onmouseup:
518                mouseup event handler.  
519                Value hint: Event handler content attribute
520            
521            onpaste:
522                paste event handler.  
523                Value hint: Event handler content attribute
524            
525            onpause:
526                pause event handler.  
527                Value hint: Event handler content attribute
528            
529            onplay:
530                play event handler.  
531                Value hint: Event handler content attribute
532            
533            onplaying:
534                playing event handler.  
535                Value hint: Event handler content attribute
536            
537            onprogress:
538                progress event handler.  
539                Value hint: Event handler content attribute
540            
541            onratechange:
542                ratechange event handler.  
543                Value hint: Event handler content attribute
544            
545            onreset:
546                reset event handler.  
547                Value hint: Event handler content attribute
548            
549            onresize:
550                resize event handler.  
551                Value hint: Event handler content attribute
552            
553            onscroll:
554                scroll event handler.  
555                Value hint: Event handler content attribute
556            
557            onscrollend:
558                scrollend event handler.  
559                Value hint: Event handler content attribute
560            
561            onsecuritypolicyviolation:
562                securitypolicyviolation event handler.  
563                Value hint: Event handler content attribute
564            
565            onseeked:
566                seeked event handler.  
567                Value hint: Event handler content attribute
568            
569            onseeking:
570                seeking event handler.  
571                Value hint: Event handler content attribute
572            
573            onselect:
574                select event handler.  
575                Value hint: Event handler content attribute
576            
577            onslotchange:
578                slotchange event handler.  
579                Value hint: Event handler content attribute
580            
581            onstalled:
582                stalled event handler.  
583                Value hint: Event handler content attribute
584            
585            onsubmit:
586                submit event handler.  
587                Value hint: Event handler content attribute
588            
589            onsuspend:
590                suspend event handler.  
591                Value hint: Event handler content attribute
592            
593            ontimeupdate:
594                timeupdate event handler.  
595                Value hint: Event handler content attribute
596            
597            ontoggle:
598                toggle event handler.  
599                Value hint: Event handler content attribute
600            
601            onvolumechange:
602                volumechange event handler.  
603                Value hint: Event handler content attribute
604            
605            onwaiting:
606                waiting event handler.  
607                Value hint: Event handler content attribute
608            
609            onwheel:
610                wheel event handler.  
611                Value hint: Event handler content attribute
612            
613            popover:
614                Makes the element a popover element
615            
616            slot:
617                The element's desired slot
618            
619            spellcheck:
620                Whether the element is to have its spelling and grammar checked
621            
622            style:
623                Presentational and formatting instructions.  
624                Value hint: CSS declarations*
625            
626            tabindex:
627                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
628            
629            title:
630                Advisory information for the element
631            
632            translate:
633                Whether the element is to be translated when the page is localized
634            
635            writingsuggestions:
636                Whether the element can offer writing suggestions or not.
637            
638        """  # fmt: skip
639        super().__init__(
640            "body", void_element=False, attrs=attrs, children=children
641        )
642        if not (id is None or id is False):
643            self._process_attr("id", id)
644        if not (class_ is None or class_ is False):
645            self._process_attr("class", class_)
646        if not (onafterprint is None or onafterprint is False):
647            self._process_attr("onafterprint", onafterprint)
648        if not (onbeforeprint is None or onbeforeprint is False):
649            self._process_attr("onbeforeprint", onbeforeprint)
650        if not (onbeforeunload is None or onbeforeunload is False):
651            self._process_attr("onbeforeunload", onbeforeunload)
652        if not (onhashchange is None or onhashchange is False):
653            self._process_attr("onhashchange", onhashchange)
654        if not (onlanguagechange is None or onlanguagechange is False):
655            self._process_attr("onlanguagechange", onlanguagechange)
656        if not (onmessage is None or onmessage is False):
657            self._process_attr("onmessage", onmessage)
658        if not (onmessageerror is None or onmessageerror is False):
659            self._process_attr("onmessageerror", onmessageerror)
660        if not (onoffline is None or onoffline is False):
661            self._process_attr("onoffline", onoffline)
662        if not (ononline is None or ononline is False):
663            self._process_attr("ononline", ononline)
664        if not (onpagehide is None or onpagehide is False):
665            self._process_attr("onpagehide", onpagehide)
666        if not (onpagereveal is None or onpagereveal is False):
667            self._process_attr("onpagereveal", onpagereveal)
668        if not (onpageshow is None or onpageshow is False):
669            self._process_attr("onpageshow", onpageshow)
670        if not (onpageswap is None or onpageswap is False):
671            self._process_attr("onpageswap", onpageswap)
672        if not (onpopstate is None or onpopstate is False):
673            self._process_attr("onpopstate", onpopstate)
674        if not (onrejectionhandled is None or onrejectionhandled is False):
675            self._process_attr("onrejectionhandled", onrejectionhandled)
676        if not (onstorage is None or onstorage is False):
677            self._process_attr("onstorage", onstorage)
678        if not (onunhandledrejection is None or onunhandledrejection is False):
679            self._process_attr("onunhandledrejection", onunhandledrejection)
680        if not (onunload is None or onunload is False):
681            self._process_attr("onunload", onunload)
682        if not (accesskey is None or accesskey is False):
683            self._process_attr("accesskey", accesskey)
684        if not (autocapitalize is None or autocapitalize is False):
685            self._process_attr("autocapitalize", autocapitalize)
686        if not (autocorrect is None or autocorrect is False):
687            self._process_attr("autocorrect", autocorrect)
688        if not (autofocus is None or autofocus is False):
689            self._process_attr("autofocus", autofocus)
690        if not (contenteditable is None or contenteditable is False):
691            self._process_attr("contenteditable", contenteditable)
692        if not (dir is None or dir is False):
693            self._process_attr("dir", dir)
694        if not (draggable is None or draggable is False):
695            self._process_attr("draggable", draggable)
696        if not (enterkeyhint is None or enterkeyhint is False):
697            self._process_attr("enterkeyhint", enterkeyhint)
698        if not (hidden is None or hidden is False):
699            self._process_attr("hidden", hidden)
700        if not (inert is None or inert is False):
701            self._process_attr("inert", inert)
702        if not (inputmode is None or inputmode is False):
703            self._process_attr("inputmode", inputmode)
704        if not (is_ is None or is_ is False):
705            self._process_attr("is", is_)
706        if not (itemid is None or itemid is False):
707            self._process_attr("itemid", itemid)
708        if not (itemprop is None or itemprop is False):
709            self._process_attr("itemprop", itemprop)
710        if not (itemref is None or itemref is False):
711            self._process_attr("itemref", itemref)
712        if not (itemscope is None or itemscope is False):
713            self._process_attr("itemscope", itemscope)
714        if not (itemtype is None or itemtype is False):
715            self._process_attr("itemtype", itemtype)
716        if not (lang is None or lang is False):
717            self._process_attr("lang", lang)
718        if not (nonce is None or nonce is False):
719            self._process_attr("nonce", nonce)
720        if not (onauxclick is None or onauxclick is False):
721            self._process_attr("onauxclick", onauxclick)
722        if not (onbeforeinput is None or onbeforeinput is False):
723            self._process_attr("onbeforeinput", onbeforeinput)
724        if not (onbeforematch is None or onbeforematch is False):
725            self._process_attr("onbeforematch", onbeforematch)
726        if not (onbeforetoggle is None or onbeforetoggle is False):
727            self._process_attr("onbeforetoggle", onbeforetoggle)
728        if not (onblur is None or onblur is False):
729            self._process_attr("onblur", onblur)
730        if not (oncancel is None or oncancel is False):
731            self._process_attr("oncancel", oncancel)
732        if not (oncanplay is None or oncanplay is False):
733            self._process_attr("oncanplay", oncanplay)
734        if not (oncanplaythrough is None or oncanplaythrough is False):
735            self._process_attr("oncanplaythrough", oncanplaythrough)
736        if not (onchange is None or onchange is False):
737            self._process_attr("onchange", onchange)
738        if not (onclick is None or onclick is False):
739            self._process_attr("onclick", onclick)
740        if not (onclose is None or onclose is False):
741            self._process_attr("onclose", onclose)
742        if not (oncontextlost is None or oncontextlost is False):
743            self._process_attr("oncontextlost", oncontextlost)
744        if not (oncontextmenu is None or oncontextmenu is False):
745            self._process_attr("oncontextmenu", oncontextmenu)
746        if not (oncontextrestored is None or oncontextrestored is False):
747            self._process_attr("oncontextrestored", oncontextrestored)
748        if not (oncopy is None or oncopy is False):
749            self._process_attr("oncopy", oncopy)
750        if not (oncuechange is None or oncuechange is False):
751            self._process_attr("oncuechange", oncuechange)
752        if not (oncut is None or oncut is False):
753            self._process_attr("oncut", oncut)
754        if not (ondblclick is None or ondblclick is False):
755            self._process_attr("ondblclick", ondblclick)
756        if not (ondrag is None or ondrag is False):
757            self._process_attr("ondrag", ondrag)
758        if not (ondragend is None or ondragend is False):
759            self._process_attr("ondragend", ondragend)
760        if not (ondragenter is None or ondragenter is False):
761            self._process_attr("ondragenter", ondragenter)
762        if not (ondragleave is None or ondragleave is False):
763            self._process_attr("ondragleave", ondragleave)
764        if not (ondragover is None or ondragover is False):
765            self._process_attr("ondragover", ondragover)
766        if not (ondragstart is None or ondragstart is False):
767            self._process_attr("ondragstart", ondragstart)
768        if not (ondrop is None or ondrop is False):
769            self._process_attr("ondrop", ondrop)
770        if not (ondurationchange is None or ondurationchange is False):
771            self._process_attr("ondurationchange", ondurationchange)
772        if not (onemptied is None or onemptied is False):
773            self._process_attr("onemptied", onemptied)
774        if not (onended is None or onended is False):
775            self._process_attr("onended", onended)
776        if not (onerror is None or onerror is False):
777            self._process_attr("onerror", onerror)
778        if not (onfocus is None or onfocus is False):
779            self._process_attr("onfocus", onfocus)
780        if not (onformdata is None or onformdata is False):
781            self._process_attr("onformdata", onformdata)
782        if not (oninput is None or oninput is False):
783            self._process_attr("oninput", oninput)
784        if not (oninvalid is None or oninvalid is False):
785            self._process_attr("oninvalid", oninvalid)
786        if not (onkeydown is None or onkeydown is False):
787            self._process_attr("onkeydown", onkeydown)
788        if not (onkeypress is None or onkeypress is False):
789            self._process_attr("onkeypress", onkeypress)
790        if not (onkeyup is None or onkeyup is False):
791            self._process_attr("onkeyup", onkeyup)
792        if not (onload is None or onload is False):
793            self._process_attr("onload", onload)
794        if not (onloadeddata is None or onloadeddata is False):
795            self._process_attr("onloadeddata", onloadeddata)
796        if not (onloadedmetadata is None or onloadedmetadata is False):
797            self._process_attr("onloadedmetadata", onloadedmetadata)
798        if not (onloadstart is None or onloadstart is False):
799            self._process_attr("onloadstart", onloadstart)
800        if not (onmousedown is None or onmousedown is False):
801            self._process_attr("onmousedown", onmousedown)
802        if not (onmouseenter is None or onmouseenter is False):
803            self._process_attr("onmouseenter", onmouseenter)
804        if not (onmouseleave is None or onmouseleave is False):
805            self._process_attr("onmouseleave", onmouseleave)
806        if not (onmousemove is None or onmousemove is False):
807            self._process_attr("onmousemove", onmousemove)
808        if not (onmouseout is None or onmouseout is False):
809            self._process_attr("onmouseout", onmouseout)
810        if not (onmouseover is None or onmouseover is False):
811            self._process_attr("onmouseover", onmouseover)
812        if not (onmouseup is None or onmouseup is False):
813            self._process_attr("onmouseup", onmouseup)
814        if not (onpaste is None or onpaste is False):
815            self._process_attr("onpaste", onpaste)
816        if not (onpause is None or onpause is False):
817            self._process_attr("onpause", onpause)
818        if not (onplay is None or onplay is False):
819            self._process_attr("onplay", onplay)
820        if not (onplaying is None or onplaying is False):
821            self._process_attr("onplaying", onplaying)
822        if not (onprogress is None or onprogress is False):
823            self._process_attr("onprogress", onprogress)
824        if not (onratechange is None or onratechange is False):
825            self._process_attr("onratechange", onratechange)
826        if not (onreset is None or onreset is False):
827            self._process_attr("onreset", onreset)
828        if not (onresize is None or onresize is False):
829            self._process_attr("onresize", onresize)
830        if not (onscroll is None or onscroll is False):
831            self._process_attr("onscroll", onscroll)
832        if not (onscrollend is None or onscrollend is False):
833            self._process_attr("onscrollend", onscrollend)
834        if not (
835            onsecuritypolicyviolation is None
836            or onsecuritypolicyviolation is False
837        ):
838            self._process_attr(
839                "onsecuritypolicyviolation", onsecuritypolicyviolation
840            )
841        if not (onseeked is None or onseeked is False):
842            self._process_attr("onseeked", onseeked)
843        if not (onseeking is None or onseeking is False):
844            self._process_attr("onseeking", onseeking)
845        if not (onselect is None or onselect is False):
846            self._process_attr("onselect", onselect)
847        if not (onslotchange is None or onslotchange is False):
848            self._process_attr("onslotchange", onslotchange)
849        if not (onstalled is None or onstalled is False):
850            self._process_attr("onstalled", onstalled)
851        if not (onsubmit is None or onsubmit is False):
852            self._process_attr("onsubmit", onsubmit)
853        if not (onsuspend is None or onsuspend is False):
854            self._process_attr("onsuspend", onsuspend)
855        if not (ontimeupdate is None or ontimeupdate is False):
856            self._process_attr("ontimeupdate", ontimeupdate)
857        if not (ontoggle is None or ontoggle is False):
858            self._process_attr("ontoggle", ontoggle)
859        if not (onvolumechange is None or onvolumechange is False):
860            self._process_attr("onvolumechange", onvolumechange)
861        if not (onwaiting is None or onwaiting is False):
862            self._process_attr("onwaiting", onwaiting)
863        if not (onwheel is None or onwheel is False):
864            self._process_attr("onwheel", onwheel)
865        if not (popover is None or popover is False):
866            self._process_attr("popover", popover)
867        if not (slot is None or slot is False):
868            self._process_attr("slot", slot)
869        if not (spellcheck is None or spellcheck is False):
870            self._process_attr("spellcheck", spellcheck)
871        if not (style is None or style is False):
872            self._process_attr("style", style)
873        if not (tabindex is None or tabindex is False):
874            self._process_attr("tabindex", tabindex)
875        if not (title is None or title is False):
876            self._process_attr("title", title)
877        if not (translate is None or translate is False):
878            self._process_attr("translate", translate)
879        if not (writingsuggestions is None or writingsuggestions is False):
880            self._process_attr("writingsuggestions", writingsuggestions)

The 'body' element.
Description: Document body
Categories: none
Parents: html
Children: flow
Interface: HTMLBodyElement
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body

body( attrs: Union[Iterable[html_compose.base_attribute.BaseAttribute], Mapping[str, Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]], Iterable[Union[html_compose.base_attribute.BaseAttribute, Iterable[html_compose.base_attribute.BaseAttribute], Mapping[str, Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]]]]], NoneType] = None, id: str | float | int | bool | None = None, class_: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, onafterprint: str | float | int | bool | None = None, onbeforeprint: str | float | int | bool | None = None, onbeforeunload: str | float | int | bool | None = None, onhashchange: str | float | int | bool | None = None, onlanguagechange: str | float | int | bool | None = None, onmessage: str | float | int | bool | None = None, onmessageerror: str | float | int | bool | None = None, onoffline: str | float | int | bool | None = None, ononline: str | float | int | bool | None = None, onpagehide: str | float | int | bool | None = None, onpagereveal: str | float | int | bool | None = None, onpageshow: str | float | int | bool | None = None, onpageswap: str | float | int | bool | None = None, onpopstate: str | float | int | bool | None = None, onrejectionhandled: str | float | int | bool | None = None, onstorage: str | float | int | bool | None = None, onunhandledrejection: str | float | int | bool | None = None, onunload: str | float | int | bool | None = None, accesskey: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, autocapitalize: Union[Literal['on', 'off', 'none', 'sentences', 'words', 'characters'], str, float, int, bool, NoneType] = None, autocorrect: Union[Literal['on', 'off'], str, float, int, bool, NoneType] = None, autofocus: bool | str | float | int | None = None, contenteditable: Union[Literal['true', 'plaintext-only', 'false'], str, float, int, bool, NoneType] = None, dir: Union[Literal['ltr', 'rtl', 'auto'], str, float, int, bool, NoneType] = None, draggable: Union[Literal['true', 'false'], str, float, int, bool, NoneType] = None, enterkeyhint: Union[Literal['enter', 'done', 'go', 'next', 'previous', 'search', 'send'], str, float, int, bool, NoneType] = None, hidden: Union[Literal['until-found', 'hidden', ''], str, float, int, bool, NoneType] = None, inert: bool | str | float | int | None = None, inputmode: Union[Literal['none', 'text', 'tel', 'email', 'url', 'numeric', 'decimal', 'search'], str, float, int, bool, NoneType] = None, is_: str | float | int | bool | None = None, itemid: str | float | int | bool | None = None, itemprop: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, itemref: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, itemscope: bool | str | float | int | None = None, itemtype: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool]] = None, lang: str | float | int | bool | None = None, nonce: str | float | int | bool | None = None, onauxclick: str | float | int | bool | None = None, onbeforeinput: str | float | int | bool | None = None, onbeforematch: str | float | int | bool | None = None, onbeforetoggle: str | float | int | bool | None = None, onblur: str | float | int | bool | None = None, oncancel: str | float | int | bool | None = None, oncanplay: str | float | int | bool | None = None, oncanplaythrough: str | float | int | bool | None = None, onchange: str | float | int | bool | None = None, onclick: str | float | int | bool | None = None, onclose: str | float | int | bool | None = None, oncontextlost: str | float | int | bool | None = None, oncontextmenu: str | float | int | bool | None = None, oncontextrestored: str | float | int | bool | None = None, oncopy: str | float | int | bool | None = None, oncuechange: str | float | int | bool | None = None, oncut: str | float | int | bool | None = None, ondblclick: str | float | int | bool | None = None, ondrag: str | float | int | bool | None = None, ondragend: str | float | int | bool | None = None, ondragenter: str | float | int | bool | None = None, ondragleave: str | float | int | bool | None = None, ondragover: str | float | int | bool | None = None, ondragstart: str | float | int | bool | None = None, ondrop: str | float | int | bool | None = None, ondurationchange: str | float | int | bool | None = None, onemptied: str | float | int | bool | None = None, onended: str | float | int | bool | None = None, onerror: str | float | int | bool | None = None, onfocus: str | float | int | bool | None = None, onformdata: str | float | int | bool | None = None, oninput: str | float | int | bool | None = None, oninvalid: str | float | int | bool | None = None, onkeydown: str | float | int | bool | None = None, onkeypress: str | float | int | bool | None = None, onkeyup: str | float | int | bool | None = None, onload: str | float | int | bool | None = None, onloadeddata: str | float | int | bool | None = None, onloadedmetadata: str | float | int | bool | None = None, onloadstart: str | float | int | bool | None = None, onmousedown: str | float | int | bool | None = None, onmouseenter: str | float | int | bool | None = None, onmouseleave: str | float | int | bool | None = None, onmousemove: str | float | int | bool | None = None, onmouseout: str | float | int | bool | None = None, onmouseover: str | float | int | bool | None = None, onmouseup: str | float | int | bool | None = None, onpaste: str | float | int | bool | None = None, onpause: str | float | int | bool | None = None, onplay: str | float | int | bool | None = None, onplaying: str | float | int | bool | None = None, onprogress: str | float | int | bool | None = None, onratechange: str | float | int | bool | None = None, onreset: str | float | int | bool | None = None, onresize: str | float | int | bool | None = None, onscroll: str | float | int | bool | None = None, onscrollend: str | float | int | bool | None = None, onsecuritypolicyviolation: str | float | int | bool | None = None, onseeked: str | float | int | bool | None = None, onseeking: str | float | int | bool | None = None, onselect: str | float | int | bool | None = None, onslotchange: str | float | int | bool | None = None, onstalled: str | float | int | bool | None = None, onsubmit: str | float | int | bool | None = None, onsuspend: str | float | int | bool | None = None, ontimeupdate: str | float | int | bool | None = None, ontoggle: str | float | int | bool | None = None, onvolumechange: str | float | int | bool | None = None, onwaiting: str | float | int | bool | None = None, onwheel: str | float | int | bool | None = None, popover: Union[Literal['auto', 'manual'], str, float, int, bool, NoneType] = None, slot: str | float | int | bool | None = None, spellcheck: Union[Literal['true', 'false', ''], str, float, int, bool, NoneType] = None, style: Union[NoneType, str, float, int, bool, Iterable[str | float | int | bool], Mapping[str | float | int | bool, bool], Mapping[str | float | int | bool, str | float | int | bool]] = None, tabindex: int | str | float | bool | None = None, title: str | float | int | bool | None = None, translate: Union[Literal['yes', 'no'], str, float, int, bool, NoneType] = None, writingsuggestions: Union[Literal['true', 'false', ''], str, float, int, bool, NoneType] = None, children: list | None = None)
 37    def __init__(
 38        self,
 39        attrs: Iterable[BaseAttribute]
 40        | Mapping[str, Resolvable]
 41        | Iterable[
 42            BaseAttribute | Iterable[BaseAttribute] | Mapping[str, Resolvable]
 43        ]
 44        | None = None,
 45        id: StrLike | None = None,
 46        class_: Resolvable | None = None,
 47        onafterprint: StrLike | None = None,
 48        onbeforeprint: StrLike | None = None,
 49        onbeforeunload: StrLike | None = None,
 50        onhashchange: StrLike | None = None,
 51        onlanguagechange: StrLike | None = None,
 52        onmessage: StrLike | None = None,
 53        onmessageerror: StrLike | None = None,
 54        onoffline: StrLike | None = None,
 55        ononline: StrLike | None = None,
 56        onpagehide: StrLike | None = None,
 57        onpagereveal: StrLike | None = None,
 58        onpageshow: StrLike | None = None,
 59        onpageswap: StrLike | None = None,
 60        onpopstate: StrLike | None = None,
 61        onrejectionhandled: StrLike | None = None,
 62        onstorage: StrLike | None = None,
 63        onunhandledrejection: StrLike | None = None,
 64        onunload: StrLike | None = None,
 65        accesskey: Resolvable | StrLike | None = None,
 66        autocapitalize: Literal[
 67            "on", "off", "none", "sentences", "words", "characters"
 68        ]
 69        | StrLike
 70        | None = None,
 71        autocorrect: Literal["on", "off"] | StrLike | None = None,
 72        autofocus: bool | StrLike | None = None,
 73        contenteditable: Literal["true", "plaintext-only", "false"]
 74        | StrLike
 75        | None = None,
 76        dir: Literal["ltr", "rtl", "auto"] | StrLike | None = None,
 77        draggable: Literal["true", "false"] | StrLike | None = None,
 78        enterkeyhint: Literal[
 79            "enter", "done", "go", "next", "previous", "search", "send"
 80        ]
 81        | StrLike
 82        | None = None,
 83        hidden: Literal["until-found", "hidden", ""] | StrLike | None = None,
 84        inert: bool | StrLike | None = None,
 85        inputmode: Literal[
 86            "none",
 87            "text",
 88            "tel",
 89            "email",
 90            "url",
 91            "numeric",
 92            "decimal",
 93            "search",
 94        ]
 95        | StrLike
 96        | None = None,
 97        is_: StrLike | None = None,
 98        itemid: StrLike | None = None,
 99        itemprop: Resolvable | StrLike | None = None,
100        itemref: Resolvable | StrLike | None = None,
101        itemscope: bool | StrLike | None = None,
102        itemtype: Resolvable | StrLike | None = None,
103        lang: StrLike | None = None,
104        nonce: StrLike | None = None,
105        onauxclick: StrLike | None = None,
106        onbeforeinput: StrLike | None = None,
107        onbeforematch: StrLike | None = None,
108        onbeforetoggle: StrLike | None = None,
109        onblur: StrLike | None = None,
110        oncancel: StrLike | None = None,
111        oncanplay: StrLike | None = None,
112        oncanplaythrough: StrLike | None = None,
113        onchange: StrLike | None = None,
114        onclick: StrLike | None = None,
115        onclose: StrLike | None = None,
116        oncontextlost: StrLike | None = None,
117        oncontextmenu: StrLike | None = None,
118        oncontextrestored: StrLike | None = None,
119        oncopy: StrLike | None = None,
120        oncuechange: StrLike | None = None,
121        oncut: StrLike | None = None,
122        ondblclick: StrLike | None = None,
123        ondrag: StrLike | None = None,
124        ondragend: StrLike | None = None,
125        ondragenter: StrLike | None = None,
126        ondragleave: StrLike | None = None,
127        ondragover: StrLike | None = None,
128        ondragstart: StrLike | None = None,
129        ondrop: StrLike | None = None,
130        ondurationchange: StrLike | None = None,
131        onemptied: StrLike | None = None,
132        onended: StrLike | None = None,
133        onerror: StrLike | None = None,
134        onfocus: StrLike | None = None,
135        onformdata: StrLike | None = None,
136        oninput: StrLike | None = None,
137        oninvalid: StrLike | None = None,
138        onkeydown: StrLike | None = None,
139        onkeypress: StrLike | None = None,
140        onkeyup: StrLike | None = None,
141        onload: StrLike | None = None,
142        onloadeddata: StrLike | None = None,
143        onloadedmetadata: StrLike | None = None,
144        onloadstart: StrLike | None = None,
145        onmousedown: StrLike | None = None,
146        onmouseenter: StrLike | None = None,
147        onmouseleave: StrLike | None = None,
148        onmousemove: StrLike | None = None,
149        onmouseout: StrLike | None = None,
150        onmouseover: StrLike | None = None,
151        onmouseup: StrLike | None = None,
152        onpaste: StrLike | None = None,
153        onpause: StrLike | None = None,
154        onplay: StrLike | None = None,
155        onplaying: StrLike | None = None,
156        onprogress: StrLike | None = None,
157        onratechange: StrLike | None = None,
158        onreset: StrLike | None = None,
159        onresize: StrLike | None = None,
160        onscroll: StrLike | None = None,
161        onscrollend: StrLike | None = None,
162        onsecuritypolicyviolation: StrLike | None = None,
163        onseeked: StrLike | None = None,
164        onseeking: StrLike | None = None,
165        onselect: StrLike | None = None,
166        onslotchange: StrLike | None = None,
167        onstalled: StrLike | None = None,
168        onsubmit: StrLike | None = None,
169        onsuspend: StrLike | None = None,
170        ontimeupdate: StrLike | None = None,
171        ontoggle: StrLike | None = None,
172        onvolumechange: StrLike | None = None,
173        onwaiting: StrLike | None = None,
174        onwheel: StrLike | None = None,
175        popover: Literal["auto", "manual"] | StrLike | None = None,
176        slot: StrLike | None = None,
177        spellcheck: Literal["true", "false", ""] | StrLike | None = None,
178        style: Resolvable | Mapping[StrLike, StrLike] | None = None,
179        tabindex: int | StrLike | None = None,
180        title: StrLike | None = None,
181        translate: Literal["yes", "no"] | StrLike | None = None,
182        writingsuggestions: Literal["true", "false", ""]
183        | StrLike
184        | None = None,
185        children: list | None = None,
186    ) -> None:
187        """
188        Initialize 'body' (Document body) element.  
189        Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
190
191        Args:
192            attrs: 
193                A list or dictionary of attributes for the element
194            
195            id:
196                The element's ID
197            
198            class_:
199                Classes to which the element belongs
200            
201            onafterprint:
202                afterprint event handler for Window object.  
203                Value hint: Event handler content attribute
204            
205            onbeforeprint:
206                beforeprint event handler for Window object.  
207                Value hint: Event handler content attribute
208            
209            onbeforeunload:
210                beforeunload event handler for Window object.  
211                Value hint: Event handler content attribute
212            
213            onhashchange:
214                hashchange event handler for Window object.  
215                Value hint: Event handler content attribute
216            
217            onlanguagechange:
218                languagechange event handler for Window object.  
219                Value hint: Event handler content attribute
220            
221            onmessage:
222                message event handler for Window object.  
223                Value hint: Event handler content attribute
224            
225            onmessageerror:
226                messageerror event handler for Window object.  
227                Value hint: Event handler content attribute
228            
229            onoffline:
230                offline event handler for Window object.  
231                Value hint: Event handler content attribute
232            
233            ononline:
234                online event handler for Window object.  
235                Value hint: Event handler content attribute
236            
237            onpagehide:
238                pagehide event handler for Window object.  
239                Value hint: Event handler content attribute
240            
241            onpagereveal:
242                pagereveal event handler for Window object.  
243                Value hint: Event handler content attribute
244            
245            onpageshow:
246                pageshow event handler for Window object.  
247                Value hint: Event handler content attribute
248            
249            onpageswap:
250                pageswap event handler for Window object.  
251                Value hint: Event handler content attribute
252            
253            onpopstate:
254                popstate event handler for Window object.  
255                Value hint: Event handler content attribute
256            
257            onrejectionhandled:
258                rejectionhandled event handler for Window object.  
259                Value hint: Event handler content attribute
260            
261            onstorage:
262                storage event handler for Window object.  
263                Value hint: Event handler content attribute
264            
265            onunhandledrejection:
266                unhandledrejection event handler for Window object.  
267                Value hint: Event handler content attribute
268            
269            onunload:
270                unload event handler for Window object.  
271                Value hint: Event handler content attribute
272            
273            accesskey:
274                Keyboard shortcut to activate or focus element
275            
276            autocapitalize:
277                Recommended autocapitalization behavior (for supported input methods)
278            
279            autocorrect:
280                Recommended autocorrection behavior (for supported input methods)
281            
282            autofocus:
283                Automatically focus the element when the page is loaded
284            
285            contenteditable:
286                Whether the element is editable
287            
288            dir:
289                The text directionality of the element
290            
291            draggable:
292                Whether the element is draggable
293            
294            enterkeyhint:
295                Hint for selecting an enter key action
296            
297            hidden:
298                Whether the element is relevant
299            
300            inert:
301                Whether the element is inert.
302            
303            inputmode:
304                Hint for selecting an input modality
305            
306            is_:
307                Creates a customized built-in element.  
308                Value hint: Valid custom element name of a defined customized built-in element
309            
310            itemid:
311                Global identifier for a microdata item.  
312                Value hint: Valid URL potentially surrounded by spaces
313            
314            itemprop:
315                Property names of a microdata item
316            
317            itemref:
318                Referenced elements
319            
320            itemscope:
321                Introduces a microdata item
322            
323            itemtype:
324                Item types of a microdata item
325            
326            lang:
327                Language of the element.  
328                Value hint: Valid BCP 47 language tag or the empty string
329            
330            nonce:
331                Cryptographic nonce used in Content Security Policy checks [CSP]
332            
333            onauxclick:
334                auxclick event handler.  
335                Value hint: Event handler content attribute
336            
337            onbeforeinput:
338                beforeinput event handler.  
339                Value hint: Event handler content attribute
340            
341            onbeforematch:
342                beforematch event handler.  
343                Value hint: Event handler content attribute
344            
345            onbeforetoggle:
346                beforetoggle event handler.  
347                Value hint: Event handler content attribute
348            
349            onblur:
350                blur event handler.  
351                Value hint: Event handler content attribute
352            
353            oncancel:
354                cancel event handler.  
355                Value hint: Event handler content attribute
356            
357            oncanplay:
358                canplay event handler.  
359                Value hint: Event handler content attribute
360            
361            oncanplaythrough:
362                canplaythrough event handler.  
363                Value hint: Event handler content attribute
364            
365            onchange:
366                change event handler.  
367                Value hint: Event handler content attribute
368            
369            onclick:
370                click event handler.  
371                Value hint: Event handler content attribute
372            
373            onclose:
374                close event handler.  
375                Value hint: Event handler content attribute
376            
377            oncontextlost:
378                contextlost event handler.  
379                Value hint: Event handler content attribute
380            
381            oncontextmenu:
382                contextmenu event handler.  
383                Value hint: Event handler content attribute
384            
385            oncontextrestored:
386                contextrestored event handler.  
387                Value hint: Event handler content attribute
388            
389            oncopy:
390                copy event handler.  
391                Value hint: Event handler content attribute
392            
393            oncuechange:
394                cuechange event handler.  
395                Value hint: Event handler content attribute
396            
397            oncut:
398                cut event handler.  
399                Value hint: Event handler content attribute
400            
401            ondblclick:
402                dblclick event handler.  
403                Value hint: Event handler content attribute
404            
405            ondrag:
406                drag event handler.  
407                Value hint: Event handler content attribute
408            
409            ondragend:
410                dragend event handler.  
411                Value hint: Event handler content attribute
412            
413            ondragenter:
414                dragenter event handler.  
415                Value hint: Event handler content attribute
416            
417            ondragleave:
418                dragleave event handler.  
419                Value hint: Event handler content attribute
420            
421            ondragover:
422                dragover event handler.  
423                Value hint: Event handler content attribute
424            
425            ondragstart:
426                dragstart event handler.  
427                Value hint: Event handler content attribute
428            
429            ondrop:
430                drop event handler.  
431                Value hint: Event handler content attribute
432            
433            ondurationchange:
434                durationchange event handler.  
435                Value hint: Event handler content attribute
436            
437            onemptied:
438                emptied event handler.  
439                Value hint: Event handler content attribute
440            
441            onended:
442                ended event handler.  
443                Value hint: Event handler content attribute
444            
445            onerror:
446                error event handler.  
447                Value hint: Event handler content attribute
448            
449            onfocus:
450                focus event handler.  
451                Value hint: Event handler content attribute
452            
453            onformdata:
454                formdata event handler.  
455                Value hint: Event handler content attribute
456            
457            oninput:
458                input event handler.  
459                Value hint: Event handler content attribute
460            
461            oninvalid:
462                invalid event handler.  
463                Value hint: Event handler content attribute
464            
465            onkeydown:
466                keydown event handler.  
467                Value hint: Event handler content attribute
468            
469            onkeypress:
470                keypress event handler.  
471                Value hint: Event handler content attribute
472            
473            onkeyup:
474                keyup event handler.  
475                Value hint: Event handler content attribute
476            
477            onload:
478                load event handler.  
479                Value hint: Event handler content attribute
480            
481            onloadeddata:
482                loadeddata event handler.  
483                Value hint: Event handler content attribute
484            
485            onloadedmetadata:
486                loadedmetadata event handler.  
487                Value hint: Event handler content attribute
488            
489            onloadstart:
490                loadstart event handler.  
491                Value hint: Event handler content attribute
492            
493            onmousedown:
494                mousedown event handler.  
495                Value hint: Event handler content attribute
496            
497            onmouseenter:
498                mouseenter event handler.  
499                Value hint: Event handler content attribute
500            
501            onmouseleave:
502                mouseleave event handler.  
503                Value hint: Event handler content attribute
504            
505            onmousemove:
506                mousemove event handler.  
507                Value hint: Event handler content attribute
508            
509            onmouseout:
510                mouseout event handler.  
511                Value hint: Event handler content attribute
512            
513            onmouseover:
514                mouseover event handler.  
515                Value hint: Event handler content attribute
516            
517            onmouseup:
518                mouseup event handler.  
519                Value hint: Event handler content attribute
520            
521            onpaste:
522                paste event handler.  
523                Value hint: Event handler content attribute
524            
525            onpause:
526                pause event handler.  
527                Value hint: Event handler content attribute
528            
529            onplay:
530                play event handler.  
531                Value hint: Event handler content attribute
532            
533            onplaying:
534                playing event handler.  
535                Value hint: Event handler content attribute
536            
537            onprogress:
538                progress event handler.  
539                Value hint: Event handler content attribute
540            
541            onratechange:
542                ratechange event handler.  
543                Value hint: Event handler content attribute
544            
545            onreset:
546                reset event handler.  
547                Value hint: Event handler content attribute
548            
549            onresize:
550                resize event handler.  
551                Value hint: Event handler content attribute
552            
553            onscroll:
554                scroll event handler.  
555                Value hint: Event handler content attribute
556            
557            onscrollend:
558                scrollend event handler.  
559                Value hint: Event handler content attribute
560            
561            onsecuritypolicyviolation:
562                securitypolicyviolation event handler.  
563                Value hint: Event handler content attribute
564            
565            onseeked:
566                seeked event handler.  
567                Value hint: Event handler content attribute
568            
569            onseeking:
570                seeking event handler.  
571                Value hint: Event handler content attribute
572            
573            onselect:
574                select event handler.  
575                Value hint: Event handler content attribute
576            
577            onslotchange:
578                slotchange event handler.  
579                Value hint: Event handler content attribute
580            
581            onstalled:
582                stalled event handler.  
583                Value hint: Event handler content attribute
584            
585            onsubmit:
586                submit event handler.  
587                Value hint: Event handler content attribute
588            
589            onsuspend:
590                suspend event handler.  
591                Value hint: Event handler content attribute
592            
593            ontimeupdate:
594                timeupdate event handler.  
595                Value hint: Event handler content attribute
596            
597            ontoggle:
598                toggle event handler.  
599                Value hint: Event handler content attribute
600            
601            onvolumechange:
602                volumechange event handler.  
603                Value hint: Event handler content attribute
604            
605            onwaiting:
606                waiting event handler.  
607                Value hint: Event handler content attribute
608            
609            onwheel:
610                wheel event handler.  
611                Value hint: Event handler content attribute
612            
613            popover:
614                Makes the element a popover element
615            
616            slot:
617                The element's desired slot
618            
619            spellcheck:
620                Whether the element is to have its spelling and grammar checked
621            
622            style:
623                Presentational and formatting instructions.  
624                Value hint: CSS declarations*
625            
626            tabindex:
627                Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation
628            
629            title:
630                Advisory information for the element
631            
632            translate:
633                Whether the element is to be translated when the page is localized
634            
635            writingsuggestions:
636                Whether the element can offer writing suggestions or not.
637            
638        """  # fmt: skip
639        super().__init__(
640            "body", void_element=False, attrs=attrs, children=children
641        )
642        if not (id is None or id is False):
643            self._process_attr("id", id)
644        if not (class_ is None or class_ is False):
645            self._process_attr("class", class_)
646        if not (onafterprint is None or onafterprint is False):
647            self._process_attr("onafterprint", onafterprint)
648        if not (onbeforeprint is None or onbeforeprint is False):
649            self._process_attr("onbeforeprint", onbeforeprint)
650        if not (onbeforeunload is None or onbeforeunload is False):
651            self._process_attr("onbeforeunload", onbeforeunload)
652        if not (onhashchange is None or onhashchange is False):
653            self._process_attr("onhashchange", onhashchange)
654        if not (onlanguagechange is None or onlanguagechange is False):
655            self._process_attr("onlanguagechange", onlanguagechange)
656        if not (onmessage is None or onmessage is False):
657            self._process_attr("onmessage", onmessage)
658        if not (onmessageerror is None or onmessageerror is False):
659            self._process_attr("onmessageerror", onmessageerror)
660        if not (onoffline is None or onoffline is False):
661            self._process_attr("onoffline", onoffline)
662        if not (ononline is None or ononline is False):
663            self._process_attr("ononline", ononline)
664        if not (onpagehide is None or onpagehide is False):
665            self._process_attr("onpagehide", onpagehide)
666        if not (onpagereveal is None or onpagereveal is False):
667            self._process_attr("onpagereveal", onpagereveal)
668        if not (onpageshow is None or onpageshow is False):
669            self._process_attr("onpageshow", onpageshow)
670        if not (onpageswap is None or onpageswap is False):
671            self._process_attr("onpageswap", onpageswap)
672        if not (onpopstate is None or onpopstate is False):
673            self._process_attr("onpopstate", onpopstate)
674        if not (onrejectionhandled is None or onrejectionhandled is False):
675            self._process_attr("onrejectionhandled", onrejectionhandled)
676        if not (onstorage is None or onstorage is False):
677            self._process_attr("onstorage", onstorage)
678        if not (onunhandledrejection is None or onunhandledrejection is False):
679            self._process_attr("onunhandledrejection", onunhandledrejection)
680        if not (onunload is None or onunload is False):
681            self._process_attr("onunload", onunload)
682        if not (accesskey is None or accesskey is False):
683            self._process_attr("accesskey", accesskey)
684        if not (autocapitalize is None or autocapitalize is False):
685            self._process_attr("autocapitalize", autocapitalize)
686        if not (autocorrect is None or autocorrect is False):
687            self._process_attr("autocorrect", autocorrect)
688        if not (autofocus is None or autofocus is False):
689            self._process_attr("autofocus", autofocus)
690        if not (contenteditable is None or contenteditable is False):
691            self._process_attr("contenteditable", contenteditable)
692        if not (dir is None or dir is False):
693            self._process_attr("dir", dir)
694        if not (draggable is None or draggable is False):
695            self._process_attr("draggable", draggable)
696        if not (enterkeyhint is None or enterkeyhint is False):
697            self._process_attr("enterkeyhint", enterkeyhint)
698        if not (hidden is None or hidden is False):
699            self._process_attr("hidden", hidden)
700        if not (inert is None or inert is False):
701            self._process_attr("inert", inert)
702        if not (inputmode is None or inputmode is False):
703            self._process_attr("inputmode", inputmode)
704        if not (is_ is None or is_ is False):
705            self._process_attr("is", is_)
706        if not (itemid is None or itemid is False):
707            self._process_attr("itemid", itemid)
708        if not (itemprop is None or itemprop is False):
709            self._process_attr("itemprop", itemprop)
710        if not (itemref is None or itemref is False):
711            self._process_attr("itemref", itemref)
712        if not (itemscope is None or itemscope is False):
713            self._process_attr("itemscope", itemscope)
714        if not (itemtype is None or itemtype is False):
715            self._process_attr("itemtype", itemtype)
716        if not (lang is None or lang is False):
717            self._process_attr("lang", lang)
718        if not (nonce is None or nonce is False):
719            self._process_attr("nonce", nonce)
720        if not (onauxclick is None or onauxclick is False):
721            self._process_attr("onauxclick", onauxclick)
722        if not (onbeforeinput is None or onbeforeinput is False):
723            self._process_attr("onbeforeinput", onbeforeinput)
724        if not (onbeforematch is None or onbeforematch is False):
725            self._process_attr("onbeforematch", onbeforematch)
726        if not (onbeforetoggle is None or onbeforetoggle is False):
727            self._process_attr("onbeforetoggle", onbeforetoggle)
728        if not (onblur is None or onblur is False):
729            self._process_attr("onblur", onblur)
730        if not (oncancel is None or oncancel is False):
731            self._process_attr("oncancel", oncancel)
732        if not (oncanplay is None or oncanplay is False):
733            self._process_attr("oncanplay", oncanplay)
734        if not (oncanplaythrough is None or oncanplaythrough is False):
735            self._process_attr("oncanplaythrough", oncanplaythrough)
736        if not (onchange is None or onchange is False):
737            self._process_attr("onchange", onchange)
738        if not (onclick is None or onclick is False):
739            self._process_attr("onclick", onclick)
740        if not (onclose is None or onclose is False):
741            self._process_attr("onclose", onclose)
742        if not (oncontextlost is None or oncontextlost is False):
743            self._process_attr("oncontextlost", oncontextlost)
744        if not (oncontextmenu is None or oncontextmenu is False):
745            self._process_attr("oncontextmenu", oncontextmenu)
746        if not (oncontextrestored is None or oncontextrestored is False):
747            self._process_attr("oncontextrestored", oncontextrestored)
748        if not (oncopy is None or oncopy is False):
749            self._process_attr("oncopy", oncopy)
750        if not (oncuechange is None or oncuechange is False):
751            self._process_attr("oncuechange", oncuechange)
752        if not (oncut is None or oncut is False):
753            self._process_attr("oncut", oncut)
754        if not (ondblclick is None or ondblclick is False):
755            self._process_attr("ondblclick", ondblclick)
756        if not (ondrag is None or ondrag is False):
757            self._process_attr("ondrag", ondrag)
758        if not (ondragend is None or ondragend is False):
759            self._process_attr("ondragend", ondragend)
760        if not (ondragenter is None or ondragenter is False):
761            self._process_attr("ondragenter", ondragenter)
762        if not (ondragleave is None or ondragleave is False):
763            self._process_attr("ondragleave", ondragleave)
764        if not (ondragover is None or ondragover is False):
765            self._process_attr("ondragover", ondragover)
766        if not (ondragstart is None or ondragstart is False):
767            self._process_attr("ondragstart", ondragstart)
768        if not (ondrop is None or ondrop is False):
769            self._process_attr("ondrop", ondrop)
770        if not (ondurationchange is None or ondurationchange is False):
771            self._process_attr("ondurationchange", ondurationchange)
772        if not (onemptied is None or onemptied is False):
773            self._process_attr("onemptied", onemptied)
774        if not (onended is None or onended is False):
775            self._process_attr("onended", onended)
776        if not (onerror is None or onerror is False):
777            self._process_attr("onerror", onerror)
778        if not (onfocus is None or onfocus is False):
779            self._process_attr("onfocus", onfocus)
780        if not (onformdata is None or onformdata is False):
781            self._process_attr("onformdata", onformdata)
782        if not (oninput is None or oninput is False):
783            self._process_attr("oninput", oninput)
784        if not (oninvalid is None or oninvalid is False):
785            self._process_attr("oninvalid", oninvalid)
786        if not (onkeydown is None or onkeydown is False):
787            self._process_attr("onkeydown", onkeydown)
788        if not (onkeypress is None or onkeypress is False):
789            self._process_attr("onkeypress", onkeypress)
790        if not (onkeyup is None or onkeyup is False):
791            self._process_attr("onkeyup", onkeyup)
792        if not (onload is None or onload is False):
793            self._process_attr("onload", onload)
794        if not (onloadeddata is None or onloadeddata is False):
795            self._process_attr("onloadeddata", onloadeddata)
796        if not (onloadedmetadata is None or onloadedmetadata is False):
797            self._process_attr("onloadedmetadata", onloadedmetadata)
798        if not (onloadstart is None or onloadstart is False):
799            self._process_attr("onloadstart", onloadstart)
800        if not (onmousedown is None or onmousedown is False):
801            self._process_attr("onmousedown", onmousedown)
802        if not (onmouseenter is None or onmouseenter is False):
803            self._process_attr("onmouseenter", onmouseenter)
804        if not (onmouseleave is None or onmouseleave is False):
805            self._process_attr("onmouseleave", onmouseleave)
806        if not (onmousemove is None or onmousemove is False):
807            self._process_attr("onmousemove", onmousemove)
808        if not (onmouseout is None or onmouseout is False):
809            self._process_attr("onmouseout", onmouseout)
810        if not (onmouseover is None or onmouseover is False):
811            self._process_attr("onmouseover", onmouseover)
812        if not (onmouseup is None or onmouseup is False):
813            self._process_attr("onmouseup", onmouseup)
814        if not (onpaste is None or onpaste is False):
815            self._process_attr("onpaste", onpaste)
816        if not (onpause is None or onpause is False):
817            self._process_attr("onpause", onpause)
818        if not (onplay is None or onplay is False):
819            self._process_attr("onplay", onplay)
820        if not (onplaying is None or onplaying is False):
821            self._process_attr("onplaying", onplaying)
822        if not (onprogress is None or onprogress is False):
823            self._process_attr("onprogress", onprogress)
824        if not (onratechange is None or onratechange is False):
825            self._process_attr("onratechange", onratechange)
826        if not (onreset is None or onreset is False):
827            self._process_attr("onreset", onreset)
828        if not (onresize is None or onresize is False):
829            self._process_attr("onresize", onresize)
830        if not (onscroll is None or onscroll is False):
831            self._process_attr("onscroll", onscroll)
832        if not (onscrollend is None or onscrollend is False):
833            self._process_attr("onscrollend", onscrollend)
834        if not (
835            onsecuritypolicyviolation is None
836            or onsecuritypolicyviolation is False
837        ):
838            self._process_attr(
839                "onsecuritypolicyviolation", onsecuritypolicyviolation
840            )
841        if not (onseeked is None or onseeked is False):
842            self._process_attr("onseeked", onseeked)
843        if not (onseeking is None or onseeking is False):
844            self._process_attr("onseeking", onseeking)
845        if not (onselect is None or onselect is False):
846            self._process_attr("onselect", onselect)
847        if not (onslotchange is None or onslotchange is False):
848            self._process_attr("onslotchange", onslotchange)
849        if not (onstalled is None or onstalled is False):
850            self._process_attr("onstalled", onstalled)
851        if not (onsubmit is None or onsubmit is False):
852            self._process_attr("onsubmit", onsubmit)
853        if not (onsuspend is None or onsuspend is False):
854            self._process_attr("onsuspend", onsuspend)
855        if not (ontimeupdate is None or ontimeupdate is False):
856            self._process_attr("ontimeupdate", ontimeupdate)
857        if not (ontoggle is None or ontoggle is False):
858            self._process_attr("ontoggle", ontoggle)
859        if not (onvolumechange is None or onvolumechange is False):
860            self._process_attr("onvolumechange", onvolumechange)
861        if not (onwaiting is None or onwaiting is False):
862            self._process_attr("onwaiting", onwaiting)
863        if not (onwheel is None or onwheel is False):
864            self._process_attr("onwheel", onwheel)
865        if not (popover is None or popover is False):
866            self._process_attr("popover", popover)
867        if not (slot is None or slot is False):
868            self._process_attr("slot", slot)
869        if not (spellcheck is None or spellcheck is False):
870            self._process_attr("spellcheck", spellcheck)
871        if not (style is None or style is False):
872            self._process_attr("style", style)
873        if not (tabindex is None or tabindex is False):
874            self._process_attr("tabindex", tabindex)
875        if not (title is None or title is False):
876            self._process_attr("title", title)
877        if not (translate is None or translate is False):
878            self._process_attr("translate", translate)
879        if not (writingsuggestions is None or writingsuggestions is False):
880            self._process_attr("writingsuggestions", writingsuggestions)

Initialize 'body' (Document body) element.
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body

Args: attrs: A list or dictionary of attributes for the element

id:
    The element's ID

class_:
    Classes to which the element belongs

onafterprint:
    afterprint event handler for Window object.  
    Value hint: Event handler content attribute

onbeforeprint:
    beforeprint event handler for Window object.  
    Value hint: Event handler content attribute

onbeforeunload:
    beforeunload event handler for Window object.  
    Value hint: Event handler content attribute

onhashchange:
    hashchange event handler for Window object.  
    Value hint: Event handler content attribute

onlanguagechange:
    languagechange event handler for Window object.  
    Value hint: Event handler content attribute

onmessage:
    message event handler for Window object.  
    Value hint: Event handler content attribute

onmessageerror:
    messageerror event handler for Window object.  
    Value hint: Event handler content attribute

onoffline:
    offline event handler for Window object.  
    Value hint: Event handler content attribute

ononline:
    online event handler for Window object.  
    Value hint: Event handler content attribute

onpagehide:
    pagehide event handler for Window object.  
    Value hint: Event handler content attribute

onpagereveal:
    pagereveal event handler for Window object.  
    Value hint: Event handler content attribute

onpageshow:
    pageshow event handler for Window object.  
    Value hint: Event handler content attribute

onpageswap:
    pageswap event handler for Window object.  
    Value hint: Event handler content attribute

onpopstate:
    popstate event handler for Window object.  
    Value hint: Event handler content attribute

onrejectionhandled:
    rejectionhandled event handler for Window object.  
    Value hint: Event handler content attribute

onstorage:
    storage event handler for Window object.  
    Value hint: Event handler content attribute

onunhandledrejection:
    unhandledrejection event handler for Window object.  
    Value hint: Event handler content attribute

onunload:
    unload event handler for Window object.  
    Value hint: Event handler content attribute

accesskey:
    Keyboard shortcut to activate or focus element

autocapitalize:
    Recommended autocapitalization behavior (for supported input methods)

autocorrect:
    Recommended autocorrection behavior (for supported input methods)

autofocus:
    Automatically focus the element when the page is loaded

contenteditable:
    Whether the element is editable

dir:
    The text directionality of the element

draggable:
    Whether the element is draggable

enterkeyhint:
    Hint for selecting an enter key action

hidden:
    Whether the element is relevant

inert:
    Whether the element is inert.

inputmode:
    Hint for selecting an input modality

is_:
    Creates a customized built-in element.  
    Value hint: Valid custom element name of a defined customized built-in element

itemid:
    Global identifier for a microdata item.  
    Value hint: Valid URL potentially surrounded by spaces

itemprop:
    Property names of a microdata item

itemref:
    Referenced elements

itemscope:
    Introduces a microdata item

itemtype:
    Item types of a microdata item

lang:
    Language of the element.  
    Value hint: Valid BCP 47 language tag or the empty string

nonce:
    Cryptographic nonce used in Content Security Policy checks [CSP]

onauxclick:
    auxclick event handler.  
    Value hint: Event handler content attribute

onbeforeinput:
    beforeinput event handler.  
    Value hint: Event handler content attribute

onbeforematch:
    beforematch event handler.  
    Value hint: Event handler content attribute

onbeforetoggle:
    beforetoggle event handler.  
    Value hint: Event handler content attribute

onblur:
    blur event handler.  
    Value hint: Event handler content attribute

oncancel:
    cancel event handler.  
    Value hint: Event handler content attribute

oncanplay:
    canplay event handler.  
    Value hint: Event handler content attribute

oncanplaythrough:
    canplaythrough event handler.  
    Value hint: Event handler content attribute

onchange:
    change event handler.  
    Value hint: Event handler content attribute

onclick:
    click event handler.  
    Value hint: Event handler content attribute

onclose:
    close event handler.  
    Value hint: Event handler content attribute

oncontextlost:
    contextlost event handler.  
    Value hint: Event handler content attribute

oncontextmenu:
    contextmenu event handler.  
    Value hint: Event handler content attribute

oncontextrestored:
    contextrestored event handler.  
    Value hint: Event handler content attribute

oncopy:
    copy event handler.  
    Value hint: Event handler content attribute

oncuechange:
    cuechange event handler.  
    Value hint: Event handler content attribute

oncut:
    cut event handler.  
    Value hint: Event handler content attribute

ondblclick:
    dblclick event handler.  
    Value hint: Event handler content attribute

ondrag:
    drag event handler.  
    Value hint: Event handler content attribute

ondragend:
    dragend event handler.  
    Value hint: Event handler content attribute

ondragenter:
    dragenter event handler.  
    Value hint: Event handler content attribute

ondragleave:
    dragleave event handler.  
    Value hint: Event handler content attribute

ondragover:
    dragover event handler.  
    Value hint: Event handler content attribute

ondragstart:
    dragstart event handler.  
    Value hint: Event handler content attribute

ondrop:
    drop event handler.  
    Value hint: Event handler content attribute

ondurationchange:
    durationchange event handler.  
    Value hint: Event handler content attribute

onemptied:
    emptied event handler.  
    Value hint: Event handler content attribute

onended:
    ended event handler.  
    Value hint: Event handler content attribute

onerror:
    error event handler.  
    Value hint: Event handler content attribute

onfocus:
    focus event handler.  
    Value hint: Event handler content attribute

onformdata:
    formdata event handler.  
    Value hint: Event handler content attribute

oninput:
    input event handler.  
    Value hint: Event handler content attribute

oninvalid:
    invalid event handler.  
    Value hint: Event handler content attribute

onkeydown:
    keydown event handler.  
    Value hint: Event handler content attribute

onkeypress:
    keypress event handler.  
    Value hint: Event handler content attribute

onkeyup:
    keyup event handler.  
    Value hint: Event handler content attribute

onload:
    load event handler.  
    Value hint: Event handler content attribute

onloadeddata:
    loadeddata event handler.  
    Value hint: Event handler content attribute

onloadedmetadata:
    loadedmetadata event handler.  
    Value hint: Event handler content attribute

onloadstart:
    loadstart event handler.  
    Value hint: Event handler content attribute

onmousedown:
    mousedown event handler.  
    Value hint: Event handler content attribute

onmouseenter:
    mouseenter event handler.  
    Value hint: Event handler content attribute

onmouseleave:
    mouseleave event handler.  
    Value hint: Event handler content attribute

onmousemove:
    mousemove event handler.  
    Value hint: Event handler content attribute

onmouseout:
    mouseout event handler.  
    Value hint: Event handler content attribute

onmouseover:
    mouseover event handler.  
    Value hint: Event handler content attribute

onmouseup:
    mouseup event handler.  
    Value hint: Event handler content attribute

onpaste:
    paste event handler.  
    Value hint: Event handler content attribute

onpause:
    pause event handler.  
    Value hint: Event handler content attribute

onplay:
    play event handler.  
    Value hint: Event handler content attribute

onplaying:
    playing event handler.  
    Value hint: Event handler content attribute

onprogress:
    progress event handler.  
    Value hint: Event handler content attribute

onratechange:
    ratechange event handler.  
    Value hint: Event handler content attribute

onreset:
    reset event handler.  
    Value hint: Event handler content attribute

onresize:
    resize event handler.  
    Value hint: Event handler content attribute

onscroll:
    scroll event handler.  
    Value hint: Event handler content attribute

onscrollend:
    scrollend event handler.  
    Value hint: Event handler content attribute

onsecuritypolicyviolation:
    securitypolicyviolation event handler.  
    Value hint: Event handler content attribute

onseeked:
    seeked event handler.  
    Value hint: Event handler content attribute

onseeking:
    seeking event handler.  
    Value hint: Event handler content attribute

onselect:
    select event handler.  
    Value hint: Event handler content attribute

onslotchange:
    slotchange event handler.  
    Value hint: Event handler content attribute

onstalled:
    stalled event handler.  
    Value hint: Event handler content attribute

onsubmit:
    submit event handler.  
    Value hint: Event handler content attribute

onsuspend:
    suspend event handler.  
    Value hint: Event handler content attribute

ontimeupdate:
    timeupdate event handler.  
    Value hint: Event handler content attribute

ontoggle:
    toggle event handler.  
    Value hint: Event handler content attribute

onvolumechange:
    volumechange event handler.  
    Value hint: Event handler content attribute

onwaiting:
    waiting event handler.  
    Value hint: Event handler content attribute

onwheel:
    wheel event handler.  
    Value hint: Event handler content attribute

popover:
    Makes the element a popover element

slot:
    The element's desired slot

spellcheck:
    Whether the element is to have its spelling and grammar checked

style:
    Presentational and formatting instructions.  
    Value hint: CSS declarations*

tabindex:
    Whether the element is focusable and sequentially focusable, and the relative order of the element for the purposes of sequential focus navigation

title:
    Advisory information for the element

translate:
    Whether the element is to be translated when the page is localized

writingsuggestions:
    Whether the element can offer writing suggestions or not.
tag = 'body'
categories = ['none']
26    class hint(GlobalAttrs, BodyAttrs):
27        """
28        Type hints for "body" attrs  
29        This class holds functions which return BaseAttributes  
30        Which you can add to your element attrs  
31        """  # fmt: skip
32
33        pass

Type hints for "body" attrs
This class holds functions which return BaseAttributes
Which you can add to your element attrs