Showing posts with label HTML font. Show all posts
Showing posts with label HTML font. Show all posts

Thursday, 3 July 2014

HTML Basefont !!


Basefont define a default font size, font face and color of text on your website.
The font tag has a start or opening tag <font> and an end or closing tag </font>.

Example:

<!DOCTYPE html>
<html>
<head>
<basefont color="green" size="5">
</head>

<body>
<h1>This is a HTML heading</h1>
<p>This is a HTML paragraph.</p>
</body>
</html>

This Basefont isn't support HTML5, and support all Browser.

HTML Font !!


You can customize your font size, font face and color of text on your website.
The font tag has a start or opening tag <font> and an end or closing tag </font>.

Example:
<p><font size="3" color="red">This is my text!</font></p>
<p><font size="4" color="black">This is my text!</font></p>
<p><font face="verdana" color="pink">This is my text!</font></p>

Output:
This is my text!
This is my text!
This is my text!

This Font isn't support HTML5, and support all Browser.