Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1073106 of HTMLFontElement

  • Revision slug: Web/API/HTMLFontElement
  • Revision title: HTMLFontElement
  • Revision id: 1073106
  • Created:
  • Creator: rahuldecoded
  • Is current revision? No
  • Comment

Revision Content

Implements the document object model (DOM) representation of the font element. The HTML Font Element (<font>) defines the font size, font face and color of text.

 

 

DOM Information:

Inheritance Hierarchy for DOM :: HTMLFontElement:
Node
     |
     + --- Element
                   |
                   + --- HTMLElement
                                       |
                                       + --- HTMLFontElement

 

Represented Tags:

FONT

Members:

      The HTMLFontElement object does not define any members.

Browser compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support Chrome 54 {{CompatGeckoDesktop(22.0)}} IE 11 Opera 40 Safari 9.1
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support Chrome 50 {{CompatGeckoMobile(22.0)}} IE 11 {{CompatUnknown}} {{CompatUnknown}}

 

Revision Source

<p>Implements the document object model (DOM) representation of the font element. The <em>HTML Font Element</em> (<a href="/en-US/docs/Web/HTML/Element/font">&lt;font&gt;</a>) defines the font size, font face and color of text.</p>

<p>&nbsp;</p>

<h3 id="sect1">&nbsp;</h3>

<dl>
 <dt>
 <h2 id="DOM_Information">DOM Information:</h2>
 </dt>
 <dd><strong>Inheritance Hierarchy for DOM :: HTMLFontElement:</strong></dd>
 <dt><a href="en-US/docs/Web/API/Node">Node</a></dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp; |</dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp; + --- <a href="/en-US/docs/Web/API/Element">Element</a></dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + --- <a href="/en-US/docs/Web/API/HTMLElement">HTMLElement</a></dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</dt>
 <dt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + --- <a href="/en-US/docs/Web/API/HTMLFontElement">HTMLFontElement</a></dt>
 <dt>
 <h3 id="sect2">&nbsp;</h3>

 <h2 id="Represented_Tags"><strong>Represented Tags:</strong></h2>
 </dt>
 <dd>FONT</dd>
</dl>

<h2 id="Members">Members:</h2>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The HTMLFontElement object does not define any members.</p>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<div>{{CompatibilityTable}}</div>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari (WebKit)</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>Chrome 54</td>
   <td>{{CompatGeckoDesktop(22.0)}}</td>
   <td>IE 11</td>
   <td>Opera 40</td>
   <td>Safari 9.1</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Phone</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>Chrome 50</td>
   <td>{{CompatGeckoMobile(22.0)}}</td>
   <td>IE 11</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
  </tr>
 </tbody>
</table>
</div>

<p>&nbsp;</p>
Revert to this revision