HTML CSS examples for CSS Form:input label
Inline the label with the input horizontally and the inputs vertically
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!--from w w w. ja v a 2 s .co m--> <body> <article id="login"> <h1>Lorem</h1> <p> <label>Lorem i</label> <input type="email"> </p> <p> <label>Lorem ips</label> <input type="password"> </p> <input type="button" value="Login"> </article> </body> </html>