HTMLFontElement Interface


The HTMLFontElement Interface is the local change to font.
IDL Definition

Interface HTMLFontElement : HTMLElement {

           attribute  DOMString                  color;
           attribute  DOMString                  face;
           attribute  DOMString                  size;
};

Semantic Requirements

  1. The color attribute contains the font color.
  2. The face attribute contains the font face identifier.
  3. The size attribute contains the font size.

If you have comments or suggestions, email me at mbrady@nist.gov