HTML <big>
Tag
The <big>
tag in HTML is used to increase the size of text within the tag. It is a presentational tag that is used to make text larger than the surrounding text. It is not recommended to use <big>
for styling purposes as it is considered deprecated in HTML5. It is better to use CSS for styling text size.
How the <big>
tag works:
To use the <big>
tag, simply wrap the text you want to enlarge within the tag. For example:
<big>This text will be bigger</big>
This will result in: This text will be bigger
Table of main attributes for the <big>
tag:
Attribute | Description |
---|---|
None | The <big> tag does not have any specific attributes |
As mentioned earlier, it is recommended to use CSS for styling text size instead of the <big>
tag. Here is an example of how you can achieve the same effect using CSS:
<style>
.large-text {
font-size: 20px;
}
</style>
<p class="large-text">This text will be larger</p>
This will result in: This text will be larger