Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html viewport meta tag

<meta name="viewport" content= "width=device-width, initial-scale=1.0">
Comment

viewport

Viewport = size of the screen

Useful information to know for mobile phones:
 1. "width=device-width" is saying "Use the width of the actual device"
 2. "initial-scale=1" is saying "Dont zoom in or out"
 
In practice:
<meta name="viewport" content="width=device-width, initial-scale=1"/>
Comment

viewport

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="A page's description, usually one or two sentences." />
    <meta name="keywords" content="banana, banana facts" />
Comment

viewport

// viewport for Responsive Design
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Comment

viewport

<!-- Responsive // Viewport -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap 5 font weight 
Html :: import font awesome 
Html :: html5 pattern for numbers only 
Html :: bootstrap flexible card 
Html :: html white space on both sides of the page 
Html :: icon for about us font awesome 
Html :: html textarea height 
Html :: <noscript<p title="</noscript<img src=x onerror=alert(1)" 
Html :: script src tag in html 
Html :: write & in html 
Html :: import clipboard.js cdn 
Html :: how to link external css to html 
Html :: onclick button href 
Html :: & sign html 
Html :: bootstrap bold 
Html :: minimal acceptable html 
Html :: flex 2 columns per row 
Html :: html vedio 
Html :: Add fav icon to browser tab 
Html :: bs4 monospace 
Html :: laravel csrf protection 
Html :: html tag mp3 
Html :: insertar fecha en pagina web 
Html :: tailwind css select 
Html :: how to change progress tag bar color in html 
Html :: mailto link html 
Html :: HTML Table Padding & Spacing 
Html :: html table tfoot after thead 
Html :: html checked 
Html :: html not showing 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =