blob: 2136192d9e14a957ca0ed8fa47a2afd2ac664d46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
---
title: <big>
slug: Web/HTML/Element/big
translation_of: Web/HTML/Element/big
---
<div>{{obsolete_header}}</div>
<h2 id="概要">概要</h2>
<p>The HTML Big Element (<code><big></code>) 会使字体加大一号(例如从小号(small)到中号(medium),从大号(large)到加大(x-large)),最大不超过浏览器的最大字体。</p>
<div class="note">
<p><strong>使用备注: </strong>由于它是纯显示性的,该元素在<a href="/en-US/docs/Web/Guide/HTML/HTML5" title="/en-US/docs/Web/Guide/HTML/HTML5">HTML5</a>中已经被移除,不应当再使用。取而代之,网页开发者应当使用CSS属性。 </p>
</div>
<h2 id="属性">属性</h2>
<p>只包含 <a href="/en-US/docs/HTML/global_attributes" title="HTML/global attributes">全局属性</a></p>
<h2 id="示例_1">示例 1</h2>
<pre class="brush:xml"><p>
This is the first sentence. <big>This whole
sentence is in bigger letters.</big>
</p></pre>
<h2 id="示例_2_(CSS_版)">示例 2 (CSS 版)</h2>
<pre class="brush:xml"><p>
This is the first sentence. <span style="font-size:1.2em">This whole
sentence is in bigger letters.</span>
</p></pre>
<h3 id="结果">结果</h3>
<p>This is the first sentence. <span style="font-size: 1.2em;">This whole sentence is in bigger letters.</span></p>
<h2 id="DOM_接口">DOM 接口</h2>
<p>该元素实现了 {{domxref('HTMLElement')}}接口.</p>
<div class="note"><strong>实现备注: 直到</strong> Gecko 1.9.2, Firefox 为该元素实现了{{domxref('HTMLSpanElement')}}接口.</div>
<h2 id="浏览器兼容">浏览器兼容</h2>
<p>{{CompatibilityTable}}</p>
<div id="compat-desktop">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Chrome</th>
<th>Edge</th>
<th>Firefox (Gecko)</th>
<th>Internet Explorer</th>
<th>Opera</th>
<th>Safari</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
</tr>
</tbody>
</table>
</div>
<div id="compat-mobile">
<table class="compat-table">
<tbody>
<tr>
<th>Feature</th>
<th>Android</th>
<th>Edge</th>
<th>Firefox Mobile (Gecko)</th>
<th>IE Mobile</th>
<th>Opera Mobile</th>
<th>Safari Mobile</th>
</tr>
<tr>
<td>Basic support</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatVersionUnknown}}</td>
<td>{{CompatUnknown}}</td>
<td>{{CompatNo}}</td>
<td>{{CompatNo}}</td>
</tr>
</tbody>
</table>
</div>
<h2 id="参见">参见</h2>
<ul>
<li>{{htmlelement("small")}}, {{htmlelement("font")}}, {{htmlelement("style")}}</li>
<li>HTML 4.01 Specification: <a class="external" href="http://www.w3.org/TR/html4/present/graphics.html#h-15.2">Font Styles</a></li>
</ul>
<div>{{HTMLRef}}</div>
|