Text Size
Defining Text Size
DescriptionTo change the size, you need to put in the size tag which looks like <FONT SIZE="#">. The starting tag is <FONT SIZE="#"> and the closing tag is </FONT>. The # symbol is replaced by the size of text you want, which ranges 1 through 7. Here is an example of the size tag.
Code
<FONT SIZE= 6"> Hello World!</FONT>
Output
Hello World!
Practice
Size Options
DescriptionAs you may have seen from the example above, the size number in HTML does not relate to the normal font size in a normal text editor. The font sizes in HTML range from 1 to 7. Here is an example of all the different sizes.
Code
<font size="1">Size 1</font><br>
<font size="2">Size 2</font><br>
<font size="3">Size 3</font><br>
<font size="4">Size 4</font><br>
<font size="5">Size 5</font><br>
<font size="6">Size 6</font><br>
<font size="7">Size 7</font>
Output
Size 1
Size 2
Size 3
Size 4
Size 5
Size 6
Size 7
Practice
Font size
DescriptionNew font size
Code
<font size="6">Size 6</font><br>
Output
Size 6
Practice
Advertisements