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

What does font tag mean?

云罗郡主
云罗郡主Original
2019-01-30 16:52:1621697browse

What does the

font tag mean? [Recommended tutorial: HTML video tutorial]

What does font tag mean?

html font tag syntax

Function: Specifies the text Font, font size, font color.

Note: Please use styles (instead of ) to define the font, font color, and font size of the text. Commonly used attributes of tags include: color (text color), size (text size), face (text font), etc.

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

html font tag example

1), use font size to set the text size

2), use the html font tag face attribute to set the text font

3), use html font color to set text color

<html>
<body>
<h1><font face="verdana">verdana字体</font></h1>
<p><font size="5" face="arial" color="red">arial字体</font></p>
</body>
</html>


The above is the detailed content of What does font tag mean?. 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:What is div tag?Next article:What is div tag?