|
|
|
To specify the overall font for your page add the <basefont> tag at the beginning of the <body> section.
Example: The page as it looks in the browser.
Hello! This is my page.
All text looks the same
since I only specified a basefont. |
|
HTML: The code to produce the above example.
<html>
<head>
<title>my page</title>
</head>
<body>
<basefont face="arial, verdana, courier" size="4" color="green">
Hello! This is my page.<br>
All text looks the same<br>
since I only specified a basefont.<br>
</body>
</html>
|
|
The color attribute selects the desired color for your text. The face attribute selects the desired font.
Note:
If you enter a list of fonts, like in the example, the browser will use the first font in the list available on the visitor's computer.
The size attribute specifies the desired size, between 1 (smallest) and 7 (biggest).
|
|
|
|