Home  >  Article  >  Web Front-end  >  What is


tag?

What is
tag?

王林
王林Original
2020-04-21 10:15:5922244browse

What is <hr> tag?

1. Definition and usage of


tag

In version html4.01, the


tag is used to define a horizontal line. This tag has been upgraded in the HTML5 version to make it semantic, used to define changes in the theme, such as topic transfer, and display a horizontal line; the


tag is displayed as a horizontal line, visually Split the document into parts.

Recommended related video tutorials: html video tutorial

2.


tag syntax format


or

Description:


The tag is a single tag (empty tag). It has no element content and is just displayed as a horizontal line to indicate the transfer of the topic;

The align, noshade, size, and width attributes of the


tag are no longer supported in the HTML5 version. If you need to modify the style, please use css (cascading style sheet).

Recommended tutorial: html tutorial

The above is the detailed content of What is


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