HTML <big> Tag

In this post, we’re going to talk about Tag Big, with the belief that it would help us all learn.

The HTML <big> tag is a now deprecated HTML element that was used to increase the font size of text. It was commonly used in the early days of HTML to make text larger, but it has since been replaced by the CSS font-size property.

The <big> tag is not recommended for use in modern HTML documents, as it is not part of the HTML5 standard and may not be supported by all web browsers. Instead, web developers should use CSS to change the font size of text.

You should apply CSS to define font sizes for HTML elements:

Example: 

<!DOCTYPE html> <html> <head> <style> .mrx1 { font-size: 15px; } .mrx2 { font-size: 25px; } </style> </head> <body><p>This is a normal font size paragraph.</p> <p class="mrx1">This is a bigger than normal font size paragraph.</p> <p class="mrx2">The biggest paragraph of all three.</p> </body> </html>

Here is another example of <big> tag alternative:

Example: 

<!DOCTYPE html> <html> <head> <style> .big { font-size: larger; } </style> </head> <body> <p>This is some normal text, and this is <span class="big">bigger text</span> within it.</p> </body> </html>



HTML <big> Tag Importance

The HTML <big> tag is used to increase the font size of the text inside the tag. It can be useful for emphasizing certain words or phrases in your content, making them stand out to your readers.

However, it’s important to note that using the <big> tag for styling purposes is not recommended as it goes against the separation of content and presentation principle of web development. Instead, it is better to use CSS (Cascading Style Sheets) to style your HTML content.


HTML5 is incompatible

In HTML 4, used the Tag Big <big> to describe the more significant text.


Tip: Our upcoming CSS tutorial will cover the topic of CSS Font Size in more detail.
We value your feedback.
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0

Subscribe To Our Newsletter
Enter your email to receive a weekly round-up of our best posts. Learn more!
icon

Leave a Reply

Your email address will not be published. Required fields are marked *