Example 1: The code that uses the border-top property to give the spacing between the elements is given below. How to turn on/off form autocompletion in HTML ? This is much easier than adding or removing multiple instances of for every indented paragraph. You also have the option to opt-out of these cookies. HubSpot uses the information you provide to us to contact you about our relevant content, products, and services. <p>To add more space between the table cell contents and the cell borders, you can simply use the CSS padding property. Position property is used to set the position of vertical line. When one <length> value is specified, it defines both the horizontal and vertical spacings between cells. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". How create table without using tag ? How to read all spans of a div dynamically ? If I wanted some vertivcal space between two particular rows I just added a spacer row