H1 heading with equal border at bottom - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-bottom

Description

H1 heading with equal border at bottom

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">

h1{<!--from  w  w w . ja  v a 2  s. c o m-->
   font-size: 25px;
   display: inline-block;
   border-bottom: 1px solid black;
   padding-bottom: 25px;
   text-transform: uppercase;
}


      </style> 
 </head> 
 <body> 
  <h1>Statistics</h1>  
 </body>
</html>

Related Tutorials