media query consists of optimal media type and zero or more expression that limit the style sheets for by using code example
Example: media query in html style
span { background-image: url(particular_ad.png); }
@media (max-width: 300px) {
span { background-image: url(particular_ad_small.png); }
}