Function moxie_dom::elements::sectioning::main[][src]

pub fn main() -> MainBuilder
Expand description

The HTML <main> element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.

A function for creating a builder which will accept attributes and produce the element.