我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
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
<small>
,<font>
,<style>
- HTML 4.01 Specification: Font Styles