<big> - HTML(超文本标记语言) 编辑
已废弃
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.
概要
The HTML Big Element (<big>
) 会使字体加大一号(例如从小号(small)到中号(medium),从大号(large)到加大(x-large)),最大不超过浏览器的最大字体。
使用备注: 由于它是纯显示性的,该元素在HTML5中已经被移除,不应当再使用。取而代之,网页开发者应当使用CSS属性。
属性
只包含 全局属性
示例 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
接口.
HTMLSpanElement
接口.浏览器兼容
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | ? | 未实现 | 未实现 |
参见
<small>
,<font>
,<style>
- HTML 4.01 Specification: Font Styles
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论