How to make a vertical line using HTML ?
To make a vertical line, use border-left or border-right property. The height property is used to set the height of border (vertical line) element. Position property is used to set the position of vertical line.
Example 1: It creates a vertical line using border-left, height and position property.
Example 2: It creates a vertical line using border-left and height property.
- Google Chrome
- Internet Explorer
HTML is the foundation of webpages, is used for webpage development by structuring websites and web apps. You can learn HTML from the ground up by following this HTML Tutorial and HTML Examples.
My Personal Notes arrow_drop_up
Please Login to comment...