You can use the CSS border property on a <span> element in combination with the other CSS property like display and height property to make vertical lines in HTML.
The following example will create a vertical separator line between two images. You can further increase the height of the line by simply increasing the value of the height property.
Use the CSS
borderPropertyYou can use the CSS
borderproperty on a<span>element in combination with the other CSS property likedisplayandheightproperty to make vertical lines in HTML.The following example will create a vertical separator line between two images. You can further increase the height of the line by simply increasing the value of the
need an explanation for this answer? contact us directly to get an explanation for this answerheightproperty.