Therefore, they do not start on a new line and only take up as much space as necessary. The simplest way to add a space in HTML (besides hitting the spacebar) is with the non-breaking space entity, written as or . A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph. The label and input elements are inline-level elements in HTML. Free and premium plans, Operations software. Other Solutions. How to Give Vertical Space Between Two Text Boxes in HTML and CSS, How to Give Space Between Text in Javascript, How to Change Placeholder Text Color in HTML and CSS, How to Change Input Text Color in HTML and CSS, How to Give Space Between Two Strings in Javascript, How to Give Space Between Words in Javascript, How to Insert Dash After Every Character in Input in Javascript, How to Insert Dash After Every 2nd Character in Input in Javascript, How to Insert Dash After Every 3rd character in Input in Javascript, How to Add Space After Every 4th Character in Input in Javascript, How to Insert Space After Every 4th Character in Input in Javascript, In the head element, we have added a stylesheet (, Lastly, we are selecting the last div using the id. Adding dryer cord adapter to connect a 4 prong plug to a 3 prong socket. There are many ways to add space between two controls in html. In addition to the way CSS is used mentioned by AddWeb Solution, you can also try to add styles directly to