notepad987

Reason text is tiny on cell phones etc.

Oct 29th, 2025 (edited)
92
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8"> <!--need this or some characters will display random gibberish -->
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <!-- keeps text the size you want in cell phone screens. Without it the text will be very small. -->
  7. <title> Text is tiny without Viewport</title>
Advertisement
Comments
  • notepad987
    2 days (edited)
    # text 0.20 KB | 0 0
    1. Read about the code here at W3Schools
    2.  
    3. Responsive Web Design - The Viewport
    4. https://www.w3schools.com/css/css_rwd_viewport.asp
    5.  
    6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
Add Comment
Please, Sign In to add comment