0

How do you create a Horizontal line in Html??

Hr

28th Sep 2020, 5:15 AM
Abdullah Mazeer
Abdullah Mazeer - avatar
3 Réponses
+ 13
Horizontal line are created using <hr> tag You can also use <hr color="red" width="50%" > Use width to define how much length and color for coloring the line
28th Sep 2020, 5:33 AM
ANMOL
ANMOL - avatar
28th Sep 2020, 5:16 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
0
Its simple to add a horizontal line in your markup, just add: <hr>. Browsers draw a line across the entire width of the container, which can be the entire body or a child element. Originally the HR element was styled using attributes
17th Nov 2020, 9:03 AM
Abdullah Mazeer
Abdullah Mazeer - avatar