- Home
- /
- Tutorials
- /
- HTML Tutorial
- /
- HTML <big> Tag
HTML Tags
HTML <big> Tag
The big tag made text one step larger than the text around it. It is obsolete in HTML5. CSS font-size does the same job with exact control.
What it did
Syntax
html
<big>Text</big>It has no attributes of its own. Nesting <big> inside <big> made text bigger still, one step at a time.
Example
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Big Tag Example</title>
</head>
<body>
<h2>Deprecated <big> Tag Example</h2>
<p>This is normal text, but <big>this text is slightly bigger</big> than the surrounding text.</p>
<p>Modern alternative: use CSS <code>font-size</code> property.</p>
</body>
</html>The words inside <big> appear a little larger than the rest of the sentence. Browsers still do this so old pages keep working, but the tag is not valid HTML5.
The modern way
Bigger text with CSS
html
<style>
.larger { font-size: 1.2em; }
</style>
<p>This is normal text, but <span class="larger">this text is bigger</span>.</p>1.2em means 1.2 times the size of the surrounding text, which is very close to what <big> did. If the bigger text is actually a heading, use a heading tag instead. If it is important, use <strong>. Sizes are explained in CSS Font Size.
Browser Support
Chrome | Edge | Firefox | Safari | Opera | IE9+ |
|---|---|---|---|---|---|
| Yes | Yes | Yes | Yes | Yes | Yes |
Still displayed by every browser for old pages. Use CSS in new ones.
HTML <big> Tag exercises
Make a line a heading
The big element is obsolete. Our team was made large because it names a part of the page, so write it as a level 2 heading.
Result
