From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/html/element/big/index.html | 105 ++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 files/zh-cn/web/html/element/big/index.html (limited to 'files/zh-cn/web/html/element/big') diff --git a/files/zh-cn/web/html/element/big/index.html b/files/zh-cn/web/html/element/big/index.html new file mode 100644 index 0000000000..2136192d9e --- /dev/null +++ b/files/zh-cn/web/html/element/big/index.html @@ -0,0 +1,105 @@ +--- +title: +slug: Web/HTML/Element/big +translation_of: Web/HTML/Element/big +--- +
{{obsolete_header}}
+ +

概要

+ +

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 接口

+ +

该元素实现了 {{domxref('HTMLElement')}}接口.

+ +
实现备注: 直到 Gecko 1.9.2, Firefox 为该元素实现了{{domxref('HTMLSpanElement')}}接口.
+ +

浏览器兼容

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatNo}}{{CompatNo}}
+
+ +

参见

+ + + +
{{HTMLRef}}
-- cgit v1.2.3-54-g00ecf