+ 3
How to create a vertical line through HTML?
we know to make horizontal lines by using hr tag but for vertical lines which tab is used?
5 Respostas
+ 5
<hr width="1" size="400" />
+ 1
Your best bet is adding a border on the left or right of an element such as a Div or Table like this
.vert {
border-left: 2px solid black;
or
border-right: 2px solid black;
}
then add class="vert" to whatever element you want to have a vertical line...
hope this helps!
0
remember to make the width smaller than the size
0
try this <hr/>
0
</vr/>