Adding extra visual spacing between elements is a purely stylistic issue and thus should not be implemented with HTML, whos only job is to structurally mark up your content. Color – The color of text in a control. Indeed it will make IE forget about anything learned this century and behave much like ie5. assuming you wished to wrap the label around the input, some people do this for some reason, Text , you can use margin-left to add extra distance from the text to the input tags. how to make and appear on the same line in HTML form (7) HTML. What does the for parameter do please? HtmlText – Text that appears in an HTML text control and that may contain HTML tags. If in your application have a sign up or sign in functionality, then you need to take input like Name, user ID and password etc. you mean by space between textbox label and textbox control ? Comments. Thanks for the reference. 1 hour, 3 minutes ago|LINK, Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML. The problem I'm having is that the distance between "X" and the int field is very large and I haven't been able to find any way to shorten it. Is there a simple way of putting spaces in between textboxes, labels, etc. Try Out JotForm! , It binds specified property with a textbox. http://validator.w3.org/ Do not use margin and padding e.g Label : Textbox label : Textbox Remove : … Something went wrong while trying to load the full version of this site. The character entity used to … it’s good practice to add a space between the INPUT and label/ label text. Visit docs.microsoft.com to know all the overloads of TextBox() method. Also if you want the input and labels to start in a new line then set them to display:block. mohansahu. It makes the input one big button. SitePoint The big advantage to right-aligned labels is the strong visual connection between label and input. In listing page there is a space between them and it gives a beautiful effect. The value of the attribute “for” is the id of the form element to which it refers and creates a unique relationship between the label and the form element to which it refers no matter where they are in the html.