HTML Text :
FONT








The <font> tag will change the font.

Example: How the output looks in the browser.
Hello! This is my page.

This local text looks different.

This text looks like the first line.



HTML: The code to produce the above example.
<html>
<head>
<title>My Page</title>
</head>

<body>
<basefont color="green" face="arial" size="4">
Hello! This is my page.<br><br>
<font color="red" face="arial" size="2">
This local text looks different.
</font>

<br><br>
This text looks like the first line.
</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.


 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"