0
How do you create a Horizontal line in Html??
Hr
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
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