<big>:更大的文本元素
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
<big>
HTML 已弃用的元素以比周围文本大一级的字体大小呈现封闭的文本(例如,medium
变为 large
)。大小上限为浏览器允许的最大字体大小。
¥The <big>
HTML deprecated element renders the enclosed text at a font size one level larger than the surrounding text (medium
becomes large
, for example). The size is capped at the browser's maximum permitted font size.
警告:该元素已从规范中删除,不应再使用。使用 CSS
font-size
属性调整字体大小。¥Warning: This element has been removed from the specification and shouldn't be used anymore. Use the CSS
font-size
property to adjust the font size.
属性
¥Attributes
该元素除了所有元素共有的 全局属性 之外没有其他属性。
¥This element has no other attributes than the global attributes, common to all elements.
示例
使用大
使用 CSS font-size
¥Using CSS font-size
此示例使用 CSS font-size
属性将字体大小增加一级。
¥This example uses the CSS font-size
property to increase the font size by one level.
CSS
.bigger {
font-size: larger;
}
HTML
<p>
This is the first sentence.
<span class="bigger">This whole sentence is in bigger letters.</span>
</p>
结果
¥Result
DOM 接口
规范
Specification |
---|
HTML Standard # big |
浏览器兼容性
BCD tables only load in the browser