HTML Fonts - Formatting Fonts, Learning HTML.
We use the <Font></Font> elements to create rich stylish fonts. The Font element needs both opening and closing tags. HTML Font tags provide you with a rich set of attributes for formatting and styling the text. Let's do an example.
< html>
< head>
< title>HTML Font element</title>
</ head>
< body>
HTML is easy to learn. <br>
< font color="Green">HTML is easy to learn.</font><br>
< font color="Green"><b>HTML</b></font> is easy to learn.
</ body>
</ html>
In the above example, you can see the power and flexibility of the Font element and tags.
You can also set the size of the font.
< html>
< head>
< title>HTML Font size attribute</title>
</ head>
< body>
< font color="Green" size="8"><b>HTML</b></font> is easy to learn.
</ body>
</ html>
|