Description
The HTML element <big>
is used to define a bigger text, with a font size one size bigger than the document's default size.
This element can be nested to itself, and each time it is nested, the size is further increased by one size.
This element is not supported in HTML5 and you should avoid using it in the markup. Instead, use CSS font properties.
The below table summarizes its usage.
Usage Details | |
Placement | It is displayed as an Inline element. |
Contents | It can contain Inline elements and text. |
Tags | Both the opening and closing tags are required. |
Versions | HTML 3, 3.2, 4, 4.01 This element is deprecated in HTML 4.01 and obsolete since HTML5, so avoid using this element in your markup. Instead, use the CSS font properties. |
Syntax
Here is the basic syntax of the <big>
element.
<big>...</big>
Examples
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example - HTML Element big</title>
</head>
<body>
<h1>Heading Text</h1>
<p>This paragraph contains a <big>big</big> text, which is one point bigger than the document's default size.</p>
<p>This paragraph contains a <big><big>bigger</big></big> text, which is two points bigger than the document's default size.</p>
<p>This paragraph contains a <big><big><big>biggest</big></big></big> text, which is three points bigger than the document's default size.</p>
</body>
</html>
Attributes
The following table shows the list of supported and unsupported attributes for the <big>
element.
Attribute Type | Details |
Element-Specific Attributes | The tag <big> doesn't have any element-specific attributes. |
Global Attributes | Like all other HTML tags, the tag <big> supports the HTML Global Attributes. |
Event Attributes | The tag <big> also supports the HTML Event Attributes. |
Browser Compatibility
The tag <big>
is supported in all modern browsers.
- Google Chrome 1+
- Internet Explorer or Edge 2+
- Firefox 1+
- Apple Safari 1+
- Opera 2+