Align label to the top on the line - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:label

Description

Align label to the top on the line

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
label {<!--from   ww  w.  j  av  a2 s.  c  om-->
   vertical-align:top;
}
</style> 
 </head> 
 <body> 
  <div> 
   <label>Employee Comments</label> 
   <textarea></textarea> 
  </div>  
 </body>
</html>

Related Tutorials