Home  >  Article  >  Web Front-end  >  Example analysis of tag in html

Example analysis of tag in html

黄舟
黄舟Original
2017-07-21 09:26:452740browse

html Text color font size label element

HTML label html text font, html font color, html font size setting label element

  • Directory


  1. #font tag syntax and structure

  2. html Font tag description

  3. Font application case

  4. ##font tag case screenshot
  5. font tag summary
1. Font tag syntax and structure - TOP

<font color="#FF0000">www.pcss5.com 颜色</font>

Font color setting The text color is red "#FF0000",

You may want to know about
css font color: css color

<font size="6">www.pcss5.com 文字大小</font>

Font size Set the text size to 6,

You may want to know
css font size: css font-size

<font face="微软雅黑">微软雅黑 字体</font>

Font face sets the text font to "Microsoft Yahei",

You may want to know
css font setting: css font-family
2. Font tag description -

TOP

We often use the font tag directly in a web page to edit text Set text font, text size, text color and other styles.

3. Font application case html code -

TOP

<font color="#FF0000">www.pcss5.com 设置文本颜色</font>
<br /> 
<font size="6">www.pcss5.com 设置文本字体大小</font>
<br /> 
<font face="微软雅黑">微软雅黑字体 设置了文本字体</font>
4. Font tag case screenshot -

TOP

Example analysis of <font> tag in htmlhtml Label Application Demonstration Case

This Font label case sets the font color, font size, and font

5. PCss5 directly sets the web page text style for font Tag summary -

TOP

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 Set text color

The above is the detailed content of Example analysis of tag in html. 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