The viewport meta tag

Initially, the viewport meta tag appeared in the mobile version of Safari, then it was picked up by other developers and mobile browsers, although it is not part of the W3C standard.

The meta tag is placed in the <head> of the page and sets the rules for how the browser fits the page to the width of the mobile phone or tablet screen.

22.01.2020, updated 28.05.2021
33
Next post Sorting in MySQL

Comments

to add a comment.

Other publications

Heading with a horizontal line in the middle
One way to make a heading with a horizontal line in the center without an image (background-image).
51
0
Styling Checkbox
Here are some examples of how to change the look of checkboxes using CSS, images and some JS.
167
0
Smooth background change
This effect can be easily done through the CSS transition property for example buttons, menus, etc.
141
0
Connecting fonts in CSS
If you do not delve into the details, you can quickly connect the font like this ...
78
0
Aligning a block to the center of its parent
Examples of how to position an element in the center of its parent using absolute, flexbox and grid layout.
85
0
Collection of CSS gradients
A selection of 23 backgrounds with linear and radial gradients.
150
0