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.

HTMLFontElement

此文件需要技術審查。看看您能幫什麼忙。

此文件需要編輯審查。看看您能幫什麼忙。

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

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.

Property

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

Type: Object

Reference to the constructor of the interface object.

Represented Tags

<font>

Methods

      No specific method; inherits methods from its parent, HTMLElement.

Method Summary
string getColor( )                     
string getFace( )
string getSize( )
void setColor(  const DOMString & )
void setColor(  const DOMString & )
void setColor(  const DOMString & )

 

Specifications

The <font> tag is not supported in HTML5.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 22.0 (22.0) ? ? ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 22.0 (22.0) ? ? ?

 

文件標籤與貢獻者

 此頁面的貢獻者: baroncharlus, rahuldecoded
 最近更新: baroncharlus,