Not Supported in HTML5.The |
Example:
HTML
<html>
<head>
<style>
body {
color: red;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Specify a default font-family for a page (with CSS):
Example:
HTML
<html>
<head>
<style>
body {
font-family: courier, serif;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Specify a default font-size for a page (with CSS):
<html>
<head>
<style>
body {
font-size: 50px;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
What to Use Instead of HTML <basefont> Tag? | HTML Tag |
Read Full: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 8 months ago |
Uploaded by: | Admin |
Views: | 12 |
Ref on: | View |