setting max-width mobile browsers code example Example: html change viewport to smartphone size <meta name="viewport" content="width=500, initial-scale=1">