CodePen

HTML

            
              
<div class="wrapper">

  <a href="#"><h1>Link Text</h1></a>

  <h1><a href="#">Link Text</a></h1>
</div>

  
            
          
!
via HTML Inspector

CSS

            
              .wrapper {
  width:960px;
  margin:0 auto;
}

h1 {
  background:lightgrey;
}
a {
  text-decoration:none;
  background:red;
}

a:hover {
  color:orange;
}


            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................