Setting The Font
We can set the font,size and color of
the text in the web page.The tag <basefont> is used for this purpose
which is shown as below
<basefont face=font-name>
XHTML Document[SetFont.html]
<html xmlns="http://www.learnhtmeasyl.blogspot.com/2017/xhtml">
<head>
<title>Setting the
Text</title>
</head>
<body>
<basefont face="arial"size="10">
India is my country<br/>
Failure is a way to
success!!<br/>
Dhoni is my favourite
hero</br>
Vijay is my favourite
actor</br>
</body>
</html>
The basefont tag supports face,color
and size where face represents the font family,color denotes the color
for the text in the document and size represents the size of the text.The color
can be specified by using color name.
Note that the <basefont>tag
is specified by the Internet Explorer Browser only and not by Firefox
Mozilla browser.
No comments:
Post a Comment