Set thickness of horizontal rule in html - HTML CSS HTML

HTML CSS examples for HTML:Line Break

Description

Set thickness of horizontal rule in html

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">
hr
 {
   border:6px solid Chartreuse;
}
</style> <!--  ww  w .jav a  2s  .  c om-->
 </head> 
 <body> 
  <hr>  
 </body>
</html>

Related Tutorials