What does font tag mean?

云罗郡主
Release: 2019-01-30 16:52:16
Original
21619 people have browsed it

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>
Copy after login


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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!