+ 2

How to resize desktop html page to mobile view page in html?

I have made a html page in my laptop but when I ran that page in my mobile elements are not adjusted as I adjust them in laptop. So what is the solution?

12th Dec 2017, 12:21 PM
Vishesh
3 Answers
+ 9
Responsive Web Design When making responsive web pages, add the following <meta> element in all your web pages: Example: <metaĀ name="viewport"content="width=device-width, initial-scale=1.0"> Read more here: https://www.w3schools.com/html/html_responsive.asp
12th Dec 2017, 5:16 PM
MainDotCom
+ 4
visit w3schools.com and learn the media queries css element.. it will help your site to become responsive.. or you can use css framework such as Bootstrap, Materialize..
12th Dec 2017, 12:30 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 2
Thanks, @Sami Khan and @WorkPrompt
13th Dec 2017, 9:46 AM
Vishesh