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

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

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.

Summary

The HTML Big Element (<big>) makes the text font size one size bigger (for example, from small to medium, or from large to x-large) up to the browser's maximum font size.

Usage note: As it was purely presentational, this element has been removed in HTML5 and shouldn't be used anymore. Instead web developers should use CSS properties.

Attributes

This element has no other attributes than the global attributes, common to all elements.

Example 1

<p>
  This is the first sentence. <big>This whole 
  sentence is in bigger letters.</big>
</p>

Example 2 (CSS alternative)

<p>
  This is the first sentence. <span style="font-size:1.2em">This whole 
  sentence is in bigger letters.</span>
</p>

Result

This is the first sentence. This whole sentence is in bigger letters.

DOM interface

This element implements the HTMLElement interface.

Implementation note: Up to Gecko 1.9.2 inclusive, Firefox implements the HTMLSpanElement interface for this element.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) ? Not supported Not supported

See also

文件標籤與貢獻者

 最近更新: tregagnon,