HTML tag

(*-*)浩
(*-*)浩Original
2019-11-13 14:20:222084browse

HTML abd1d7fe556b8a5c1c26946ca234394a tag

HTML <basefont> tag

##Only Internet Explorer supports the abd1d7fe556b8a5c1c26946ca234394a tag. This tag should be avoided.

definition and usage (Recommended learning: html tutorial )

# & lt; basefont & gt label definition benchmark font. This tag defines the default font color, font size, and font family for all text in the document.

Differences between HTML and XHTML

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

Example

Specifies the default font color and size on the page:

<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>

The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:HTML