Create banner with header and border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Header

Description

Create banner with header and border

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

ASIDE {border: darkkhaki solid medium;}
ASIDE H2 {background-color: green; margin-top: 0;}


      </style> 
 </head> <!--from  w w w.j  a  v a  2 s.c  o  m-->
 <body> 
  <aside> 
   <h2>Sample H2</h2> Sample content. 
  </aside>  
 </body>
</html>

Related Tutorials