|
|||
|
This is the last article of '98 and the first article of '99 so I will start by wishing everyone a happy New Year. To those who celebrated it, I hope you had a Merry Christmas.
This month I will discuss the font tag and links. The first thing I will discuss is the font tag. This tag as you may have guessed lets you change the font of the text on your page in a number of ways. You can change the typeface, the size and the colour. As is necessary by the nature of the tag, it also requires and end tag so its prototype is: The parameters you can set are face, size and color (note "color" as opposed to the English "colour" - it's the American spelling). FACE sets the typeface (for example "times new roman" or "arial"). If the typeface name has only one word in it - for example "verdana" - there is no need to enclose it in quotation marks and the code will look like: It is important to remember that people viewing your page over the Internet will not have all the same fonts as you installed on their computer. Therefore you can list a number of fonts that could be used. This is done as follows: The size of the text is set on a scale of 1 to 7 with 7 being the biggest. Size 3 is the default. You can also set the size of the font using proportional values. For example "+2" or "-1". As an example: Color can be set using either hexadecimal notation or one of the predefined colours as discussed in the previous article. The next thing I will discuss is links. If you have ever surfed the Internet, you have encountered and are probably familiar with links. A link is a part of a page you click on to take you to another page. This page can be another page on the same site, a completely different page on a different site/server, another point on the same page. You can also link to an e-mail address. Go To Page: 1 2
The copyright of the article Font tag and an introduction to links in HTML Lessons is owned by . Permission to republish Font tag and an introduction to links in print or online must be granted by the author in writing.
For a complete listing of article comments, questions, and other discussions related to Oisin Prendiville's HTML Lessons topic, please visit the Discussions page. |
|||
|
|
|||
|
|
|||