media query in html style
snippet in html

media querycss

user1822


@media only screen and (max-width: 600px) {
  body {

   
background-color: lightblue;
  }
}
 

media query in html style

user9429

span { background-image: url(particular_ad.png); }

@media (max-width: 300px) {
    span { background-image: url(particular_ad_small.png); }
}