w3 viewport code example Example: how to set viewport in html <meta name="viewport" content="width=device-width, initial-scale=1.0">