2-The Viewport Tag. The viewport tag notifies mobile devices that a website must not go to its defaults standards, but convert to mobile standards. With this tag, a website will instantly be mobile friendly.
Example of a Viewport tag: <meta name=“viewport” content=“initial-scale=1”> The above is the common viewport tag that should be added to the head section of every web page. Defining a Viewport tag fixed width: <meta name="viewport" content="width=500, initial-scale=1"> The above shows how to set a fixed width with the viewport tag for a mobile device.
Comments
Post a Comment