How do we include big text in HTML?


The <big> HTML makes the enclosed content shown with a font size that is one level bigger than the text (medium becomes large, for example). The size is limited to the largest font size supported by the browser.

Syntax

<big> Contents... </big>

Following are the examples…

Example

In the following example we are using <big> html to make our text bigger.

<!DOCTYPE html> <html> <body> <h1>Tutorialspoint</h1> <p>welcome to tutorials</p> <big>the best e-way learning</big> </body> </html>

Output

When the script is executed, the text "the best e-way learning" increases in size as we apply <big> to the text.

Example:( Using css style)

In the following example we are using the css style with the <big> tag to make our text colourful and big.

<!DOCTYPE html> <html> <body> <h1>TUTORIALSPOINT</h1> <p>Welcome to tutorials</p> <big style="font-size:40px; font-weight:bold; color:green; "> The best e-way learning </big> </body> </html>

Output

At the time of execution, the <big style> gets triggered and applies to the text and makes its size increase.

Note − This feature is removed from the relevant web standards and is no longer compatible with few web browsers. If there is a need to alter the font size, please use font_size feature.

Updated on: 05-Sep-2022

512 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements