"; the "hr" tag can divide the content of the page by displaying a horizontal line, thereby defining the theme changes in the HTML page. The "hr" tag is a single tag without an end tag, and the syntax is "
" or "
"."/> "; the "hr" tag can divide the content of the page by displaying a horizontal line, thereby defining the theme changes in the HTML page. The "hr" tag is a single tag without an end tag, and the syntax is "
" or "
".">

Home>Article>Web Front-end> What is the horizontal line mark in html5

What is the horizontal line mark in html5

WBOY
WBOY Original
2021-12-17 14:35:29 12340browse

The horizontal line mark in HTML5 is "


"; the "hr" tag can divide the content of the page by displaying a horizontal line, thereby defining the theme changes in the html page. The "hr" tag is a single tag There is no closing tag, and the syntax is "
" or "
".

What is the horizontal line mark in html5

The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.

What is the horizontal line mark in html5

The horizontal line mark in html is the hr tag. The


tag defines a topic change (such as a transfer of topic) in an HTML page and is displayed as a horizontal line. The
element is used to separate content in an HTML page (or to define a variation).

In HTML, the


tag does not have a closing tag.

The example is as follows:

   菜鸟教程(runoob.com) 

HTML

HTML 是用于描述 web 页面的一种语言。


CSS

CSS 定义如何显示 HTML 元素。

Output result:

What is the horizontal line mark in html5

Recommended tutorial: "html video tutorial"

The above is the detailed content of What is the horizontal line mark in html5. 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