The <basefont> tag use to specify the default font-size,text-color or font-family for all the text in Webpage.
That tag is not supported in html5.
The <basefont> tag also define in header of webpage.
You can understand it by a simple example:-
The following attributes can be set for the <basefont> tag:-
You can understand it by a simple example:-
e.g.
<head>
<basefont color="green" size="7">
</head>
<body>
<h1>My name is Ndal.</h1>
<p>My name is Ndal.</p>
</body>
Result:-
<head>
<basefont color="green" size="7">
</head>
<body>
<h1>My name is Ndal.</h1>
<p>My name is Ndal.</p>
</body>
Result:-
My name is Ndal.
My name is Ndal.
The following attributes can be set for the <basefont> tag:-
Attribute | Value | Description |
---|---|---|
color | color | specify color |
face | font-family | defines font-style |
size | number | size of text |
0 comments:
Post a Comment