0

Isn't there an attribute to describe the breadth of <hr> tag ?

23rd Mar 2017, 2:42 PM
Nemo
Nemo - avatar
2 Réponses
+ 3
hr tag, changed it's definition from a simple horizontal rule in HTML4 to a more semantic thematic break in HTML5. The old attributes are deprecated and you should style the hr with CSS. See this comprehensive page with an example on w3schools: https://www.w3schools.com/tags/tag_hr.asp
23rd Mar 2017, 3:26 PM
seamiki
seamiki - avatar
0
width?
23rd Mar 2017, 2:48 PM
Geoffrey L
Geoffrey L - avatar