Document.mainBody

Element mainBody()

This returns the <body> element, if there is one. (It different than Javascript, where it is called 'body', because body used to be a keyword in D.)

History

body alias added February 26, 2024