This is a paragraph< /p>


This is a paragraph"."> HTML hr what does it mean-HTML Tutorial-php.cn

HTML hr what does it mean

藏色散人
Release: 2020-11-13 11:32:29
Original
18634 people have browsed it

HTML hr is a tag used to create a horizontal line in the page. In HTML, the


tag has no closing tag, and its usage syntax is such as "

This is the paragraph


This is the paragraph".

HTML hr what does it mean

Recommended: "HTML Video Tutorial"

HTML


Tag

Definition and Usage

The


tag creates a horizontal line in an HTML page.

Horizontal rule (horizontal rule) can visually separate the document into various parts.

Differences between HTML and XHTML

In HTML, the


tag does not have a closing tag.

In XHTML,


must be closed correctly, such as
.

In HTML 4.01, all rendering attributes of the hr element are deprecated.

In XHTML 1.0 Strict DTD, all rendering attributes of the hr element are not supported.

Optional attributes

HTML hr what does it mean

Example:

  

hr 标签定义水平线:


这是段落。


这是段落。


这是段落。

Copy after login

Running effect:

HTML hr what does it mean

The above is the detailed content of HTML hr what does it 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
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!