Home  >  Article  >  Web Front-end  >  Learning some tags in html

Learning some tags in html

高洛峰
高洛峰Original
2016-10-19 10:17:461087browse

I learned many attributes of HTML5 by reading the manual today. Now the summary is as follows

Background is used to set the background of the page, followed by the address of the image

Bgcolor is used to set the background color of the page. Followed by a color or hexadecimal number

Text is used to set the font color without a hyperlink

Link is used to set the font color of a hyperlink

alink is used to set the color of a hyperlink when clicked

Vlink Used to set the font color after clicking on the hyperlink

Baidu

Learning some tags in htmlThe place where the page jumps

Baidu

Baidu

Baidu


H2SO4

is the tag used for subscripting

is the tag used for superscripting

From title one respectively Go to title six. The font gradually shrinks and wraps automatically

Learning some tags in html

Img is the tag to insert the image, and width is the width of the image. Height is the height of the picture. You can fill in a numerical value for it, or you can fill in the "address and suffix name of the picture" in auto (scaled) src.

This is a website about Baidu

size to define fonts Size, followed by px (pixels)

color defines the color of the font

line break

horizontal dividing line







With code

<!--!doctype html-->


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