Why <big> is not in HTML 5 Tag list while <small> is?

HTMLWeb DevelopmentFront End Technology

Unlike HTML 4.01, HTML 5 does not support the <big> tag. The <small> makes the text font size one size smaller down to the browser's minimum font size. For example, the use of the <small> tag in a text which is of large font size makes the font size to medium. In HTML5, this element is repurposed to represent side-comments and small print. It also supports the global attributes and event attributes in HTML

On the contrary, the <big> tag would make the text appear one size larger than the actual font size of the text. Though this tag is not a part of HTML 5 if used some browsers still support this tag. But, it is advised not to use this tag any longer as some browsers might not support the use of this tag anymore.

Example

You can try to run the following code to implement <small> element −

<!DOCTYPE html>
<html>
   <body>
      <p>This sentence is of normal size.</p> <p><small>This sentence is of reduced size.</small></p>
   </body>
</html>

Output

When this code is run, we get the above result

This sentence is of normal size.
This sentence is of reduced size.
raja
Published on 20-Mar-2018 09:51:51
Advertisements