What is a viewport tag, and does my clinic site need one?
A viewport tag is one line of code in your page that tells a phone to fit the page to its screen. Without it, many phones show a shrunken desktop page that patients have to pinch and zoom. Almost every modern website builder adds it for you, but older or custom sites sometimes don’t.
- Numbers you can check
Our figures come from a public scan of clinic homepages, and we publish how we counted.
How we count - Your accounts stay yours
Your domain, website and online profile are in your name from day one.
How we work - Month to month
No long contract. Thirty days’ notice, and your accounts and numbers stay with you.
Read the FAQ - No patient information needed
We work on your website, profiles and settings. Patient records stay in your clinic.
Privacy policy
What it does
A phone doesn’t know whether a page was designed for it. The viewport tag says to use the phone’s own width. A page built to adapt to screen size, which is called responsive, still needs the tag to switch that behaviour on.
The standard version looks like this:
<meta name="viewport" content="width=device-width, initial-scale=1">
You don’t need to understand it. You need to know whether it is there.
How to check
- Open your homepage on your phone. If the text is tiny and you have to pinch to read it, the tag may be missing or the design may not be responsive.
- On a computer, right-click the page, choose “View page source” and search for the word “viewport”.
- Run the website grader below. It looks for the tag and reports back.
If it’s missing
- Squarespace, Wix and many current themes. Rarely an issue. If it appears missing, contact support, since you can’t usually edit this yourself.
- WordPress. The theme controls it. Check that your theme is current and supports mobile screens, or ask your developer to add it to the header.
- A custom or old site. Ask your developer to add the line in the page head, and to test the layout afterwards, since pages built before phones were common may need more work.
- An old design that still looks wrong. The tag only helps if the page can adapt. If the design is fixed-width, see whether you need a new website.
What the tag doesn’t fix
Having the tag doesn’t make a page easy to use on a phone. Check that text is readable, buttons are easy to tap and nothing is hidden or cut off. See site speed and accessibility basics.
Not sure where your clinic stands? We’ll look at it the way a new patient does and send a short written report. No pitch.
Questions owners ask
Can I add it myself?
On a site builder, usually not, because the platform handles it. On WordPress or a custom site, a developer can add it in a few minutes.
My site looks fine on my phone. Is the tag there?
Probably. Pages that look right on a phone almost always have it.
Does Google care?
Google indexes pages with a phone in mind, so a page that works on a phone is better placed than one that doesn’t.