Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

label aligned next to input

<div class="block">
    <label>Simple label</label>
    <input type="text" />
</div>
<div class="block">
    <label>Label with more text</label>
    <input type="text" />
</div>
<div class="block">
    <label>Short</label>
    <input type="text" />
</div>
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #label #aligned #input
ADD COMMENT
Topic
Name
8+3 =