CodePen

HTML

            
              <figure>
  <img src="http://placehold.it/300x200" alt="" />
</figure>
            
          
!

CSS

            
              img{
  border:0;
  margin:0;
  padding:0;
}

figure{
  border:2px solid black;
  display:inline-block;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

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