Tutorialspoint.dev

HTML | <big> Tag

The <big> tag in HTML is used to increase the selected text size by one larger then surrounding text. It is not supported in HTML 5. In HTML 5, it can be used by CSS.

Syntax:

<big> Contents... </big>

Below example illustrates the <big> tag in HTML:

Example:

<!DOCTYPE html>
<html>
    <head>
        <title>big tag</title>
        <style>
            body {
                text-align:center;
            }
            .gfg {
                font-size:40px;
                font-weight:bold;
                color:green;
            }
            .geeks {
                font-size:25px;
                font-weight:bold;
            }
        </style>
    </head>
    <body>
        <div class = "gfg">GeeksforGeeks</div>
        <div class = "geeks"><big> Tag</div>
        <p><big>GeeksforGeeks</big></p>
        <p>A computer science portal for geeks</p>
    </body>
</html>                    

Output:

Supported Browsers: The browser supported by <big> tag are listed below:

  • Apple Safari
  • Google Chrome
  • Firefox
  • Opera
  • Internet Explorer


This article is attributed to GeeksforGeeks.org

leave a comment

code

0 Comments

load comments

Subscribe to Our Newsletter