how to make images responsive in html5? code example
Example 1: responsive img
.responsive-img {
max-width:100%;
display:block;
height:auto;
}
Example 2: imagen responsivo
1<img src="img-mobile.jpg" 2 srcset="img-mobileHD.jpg 2x, 3 img-tablet.jpg 768w, 4 img-tabletHD.jpg 768w 2x, 5 img-large.jpg 1200w, 6 img-largeHD.jpg 1200w 2x" />