Display: block, inline
display property can be set to "block" or "inline"
Example
4.17 - label as inline - Example 4.17
<form method="post" action="https://cscie12.dce.harvard.edu/echo">
<label>Name
<input type="text" name="name"/>
</label>
<label>Email
<input type="email" name="email"/>
</label>
<input type="submit" value="Submit"/>
</form>
<form method="post" action="https://cscie12.dce.harvard.edu/echo">
<label>Name
<input type="text" name="name"/>
</label>
<label>Email
<input type="email" name="email"/>
</label>
<input type="submit" value="Submit"/>
</form>
In style
element
(<style>
) within head
element:
label { display: block;
margin: 1em;}
input { display: block; }
input[type=submit] { margin: 1em;}