| BACK |
Kid's Guide
1 - Tags
2 - Page Sections
3 - Format/Nesting
4 - Head Tags
5 - Body tags
6 - Text Decoration
part 1 - fonts
part 2 - style
part 3 - size
part 4 - blockquote and preformatted
7 - Lists
8 - Colour
9 - Source
10 - Images
11 - Links/Anchor Tag
12 - Special Charaters
13 - Tables
14 - Frames
|
Font Size
You can also change the size of the font. You do this by using the size command. Like this:
font size="1"
font size="2"
font size="3"
font size="4"
font size="5"
font size="6"
font size="7"
The code will look like this:
<html>
<head>
<title>Jet Internet</title>
<meta name="keywords" content="Jet Internet, web design">
<meta name="description" content="This is my first web site.">
</head>
<body>
<p><font face="Comic Sans Ms" size="1">font size=1<font></p>
<p><font face="Comic Sans Ms" size="2">font size=2<font></p>
<p><font face="Comic Sans Ms" size="3">font size=3<font></p>
<p><font face="Comic Sans Ms" size="4">font size=4<font></p>
<p><font face="Comic Sans Ms" size="5">font size=5<font></p>
<p><font face="Comic Sans Ms" size="6">font size=6<font></p>
<p><font face="Comic Sans Ms" size="7">font size=7<font></p>
</body>
</html>
Notice how that in the code the fonts do not change in size. That’s because the browser has to, read the code that tells the browser what to write, in which font and how big.
|