HTML Basic
HTML hr divider tag usage
The <HR> tag pocket table in HTML is a horizontal divider. The <HR> tag that already exists in the early HTML syntax is supported by almost all major browsers.
<hr> Separator syntax exampleThis is the title
<hr>
This is the content of the article
In this example, a horizontal dividing line will be inserted between the article title and the article content. HR can be uppercase or lowercase. The default HTML hr thickness is 1, so it looks quite thick, and the width is 100%. That is, the width of the divider will change with the width of the screen of netizens. If you want to change the style of the HR divider, you can use an example like the following.<hr>
This is the content of the article
<hr size="8px" align="center" width="100%">
Post a Comment
0 Comments