Home > Web Front-end > HTML Tutorial > What does the basefont tag mean?

What does the basefont tag mean?

云罗郡主
Release: 2019-01-31 16:35:07
Original
2619 people have browsed it

What does the basefont tag mean?

What does the basefont tag mean?

Function: Define the base font. If you want to change the font size, just add the or - number directly after it.

Description: This tag can define the default font color, font size and font family for all text in the document.

Note: In HTML 4.01, the basefont element is deprecated; in XHTML 1.0 Strict DTD, the basefont element is not supported.

html basefont tag example

<html>
<head>
<basefont color="red" size="5" />
</head>
<body>
<h1>This is a header</h1>
<p>This is a paragraph</p>
<p>
在 HTML 4.01 中,不赞成使用 basefont 元素;在 XHTML 1.0 Strict DTD 中,不支持 basefont 元素。
</p>
</body>
</html>
Copy after login


The above is the detailed content of What does the basefont tag mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template