Get the App
SLTechnology News&Howtos  ›  Development  › 

What does hr mean in HTML

Shulou Source: shulou.com Published: 2022-06-01 05:32:18 10月02日 Update

Editor to share with you what the meaning of hr in HTML, I believe that most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

HR, the tagging language of web programs, creates a horizontal line in a HTML page.

The tag creates a horizontal line in the HTML page

A horizontal separation line (horizontalrule) visually divides a document into sections.

Is a tag in a web editor in the form of a horizontal line.

Rwidth= "90%" size= "1" color= "red" / >

Description:

Width= "" is the width in quotation marks

Height in quotation marks of size= ""

The color of the color= "" horizontal line

Noshade= "noshade" definition does not project

Color= "" defines the color of the line

Align= "" set alignment

In HTML4.01, it is not recommended to use the size, width, noshade, align attributes of the hr element; in XHTML1.0StrictDTD, these attributes of the hr element are not supported, use CSS instead.

The example can be changed to:

The above is all the content of this article "what is the meaning of hr in HTML?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Tags horizontal horizontal lines articles meaning elements content attributes quotation marks web pages pages colors Zhongchuang Jianyi Admiral not much most width form document Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi macOS NVidia Shulou Tech Info Shulou Technology