HTMLBodyElements
HTMLBodyElement is the interface in the Document Object Model that represents the HTML <body> element of a document. It extends the generic HTMLElement interface and provides properties and behavior specific to the body element. In practice, a webpage’s body is accessible via document.body, and there is typically a single body element per document.
Historically, HTMLBodyElement exposed several legacy presentation attributes that map to the HTML attributes of the body
In addition to presentation-related properties, HTMLBodyElement supports standard DOM event handling through properties and events associated
Usage notes: The body element typically serves as the root container for the document’s visible content. While