A+ A-

Html code for Bigger text and Smaller text

Larger Text - Html Tutorial

The content of the <big>...</big> element is shown a single font size much bigger in comparison with the rest of the text associated with it as demonstrated below:

Example :


<!DOCTYPE html>
<html>
<head>
<title>Larger Text Example</title>
</head>
<body>
<p>The following word uses a <big>big</big> typeface.</p>
</body>
</html>


This will certainly generate the following outcome:

The following word uses a big typeface.

Smaller Text  - Html Tutorial :

The content connected with the <small>...</small> element is exhibited a single font size smaller sized compared to the rest of the words associated with it as demonstrated below:

Example :


<!DOCTYPE html>
<html>
<head>
<title>Smaller Text Example</title>
</head>
<body>
<p>The following word uses a <small>small</small> typeface.</p>
</body>
</html>


This will certainly generate the following outcome:

The following word uses a small typeface.