过时
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.
过时
HTML Big Element
(
<big>
) renders the enclosed text at a font size one level larger than the surrounding text (
medium
becomes
large
,例如)。
The size is capped at the browser's maximum permitted 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 the CSS
font-size
property to adjust the font size.
This element has no other attributes than the 全局属性 , common to all elements.
Here we see examples showing the use of
<big>
followed by an example showing how to accomplish the same results using modern CSS syntax instead.
<big>
This example uses the obsolete
<big>
element to increase the size of some text.
<p> This is the first sentence. <big>This whole sentence is in bigger letters.</big> </p>
font-size
This example uses the CSS
font-size
property to increase the font size by one level.
.bigger {
font-size: larger;
}
<p> This is the first sentence. <span class="bigger">This whole sentence is in bigger letters.</span> </p>
This element implements the
HTMLElement
接口。
HTMLSpanElement
interface for this element.
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
big
弃用
非标
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
完整支持
非标。预期跨浏览器支持较差。
弃用。不要用于新网站。