HTML big 标签

htmlweb developmentfront end technology更新于 2025/3/20 15:40:17

HTML 中的 <big> 元素用于形成比默认值更大的文本。

注意:HTML 不支持 <big> 元素。现在让我们看一个在 HTML 中实现 <big> 元素的示例。minus;

示例

<!DOCTYPE html>
<html>
<body>
   <h2>Demo Heading</h2>
   <p>This is demo text!</p>
   <p><big>This demo text is bigger than the default text.</big></p>
</body>
</html>

输出

在上面的例子中,我们首先设置了一个普通文本 −

<p>这是演示文本!</p>

之后,我们使用 <big> 元素设置了另一个文本 −

<p>
   <big>
      This demo text is bigger than the default text.
   </big>
</p>

相关文章


有用资源