dc.Main

The <dc.Main> tag adds Aria attributes and header marking the beginning of the visible main content area.

Attributes

  • Label: Defaults to “Main”, set to use an alternative header

  • AriaOnly: Defaults to true , if set to false the header will be visible

Usage Notes

None

Examples

<dc.Html Skeleton="template-name"> <dc.Body> <dc.Header> <p>header content</p> </dc.Header> <dc.Main> <p>article content</p> </dc.Main> <dc.Footer> <p>footer content</p> </dc.Footer> </dc.Body> </dc.Html>

Output not applicable.

See Also