Dart API Referencedart:htmlHeadingElement

HeadingElement Interface

DOM heading elements expose the HTMLHeadingElement (or HTML 4 HTMLHeadingElement) interface. In HTML 5, this interface inherits from HTMLElement, but defines no additional members, though in HTML 4 it introduces the deprecated align property.

Extends

Element

Constructors

Code new HeadingElement.h4() #

HeadingElement.h4();

Code new HeadingElement.h6() #

HeadingElement.h6();

Code new HeadingElement.h1() #

HeadingElement.h1();

Code new HeadingElement.h2() #

HeadingElement.h2();

Code new HeadingElement.h5() #

HeadingElement.h5();

Code new HeadingElement.h3() #

HeadingElement.h3();

Fields

Code String align #

Enumerated attribute indicating alignment of the heading with respect to the surrounding context.
String align;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.