<big>
已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。
概要
The HTML Big Element (<big>
) 会使字体加大一号(例如从小号 (small) 到中号 (medium),从大号 (large) 到加大 (x-large)),最大不超过浏览器的最大字体。
备注: 由于它是纯显示性的,该元素在HTML5 (en-US)中已经被移除,不应当再使用。取而代之,网页开发者应当使用 CSS 属性。
属性
只包含 全局属性 (en-US)
示例 1
<p>
This is the first sentence. <big>This whole
sentence is in bigger letters.</big>
</p>
示例 2 (CSS 版)
<p>
This is the first sentence. <span style="font-size:1.2em">This whole
sentence is in bigger letters.</span>
</p>
结果
This is the first sentence. This whole sentence is in bigger letters.
DOM 接口
该元素实现了 HTMLElement
接口。
备注: 直到 Gecko 1.9.2, Firefox 为该元素实现了HTMLSpanElement
接口。
浏览器兼容
BCD tables only load in the browser
参见
<small>
,<font>
,<style>
- HTML 4.01 Specification: Font Styles