0

What is the html tag used to draw a vertical line?

7th Jul 2019, 1:16 PM
Ebenye Martin
Ebenye Martin - avatar
3 ответов
+ 1
You can't do that, it would just mess up the whole flow of the document. You can still imitate it with divs: <div style = "width: 1px; height = 90%"></div> -> A vertical line with 1 px width and 90% screen height
7th Jul 2019, 1:19 PM
Airree
Airree - avatar
0
Ebenye Martin you can draw vertical line with the <hr> tag  <hr width="1" size="100"> Or you can use svg for draw vertical line <svg id="1" width="100" height=200"> <line x1="20" y1="20" x2="20" y2="130"></line> </svg>
7th Jul 2019, 1:19 PM
MsJ
MsJ - avatar
0
Alright. Thanks guys.
7th Jul 2019, 1:40 PM
Ebenye Martin
Ebenye Martin - avatar