Create a vertical rule in html - HTML CSS HTML

HTML CSS examples for HTML:Line Break

Description

Create a vertical rule in html

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <title>  Umesh</title> 
  <style>
#wrapper {<!--from   w  ww .  j  a va2  s . c  o m-->
   display:flex;
   flex-direction:column;
}

#v1 {
   flex:2 2 201px;
}
</style> 
 </head> 
 <body translate="no"> 
  <div id="wrapper"> 
   <hr id="v1"> 
  </div>  
 </body>
</html>

Related Tutorials