+ 1

HTML for mobiles.

I made a very simple web page on a smartphone and opened it with chrome there. It shows the page as it is on a tablet, laptop or PC-screen. The letters are very small on a mobile, hence not readable . Is there any option for HTML to adapt its appearance to smartphone screens?

27th May 2017, 4:35 PM
R.30
R.30 - avatar
4 Answers
+ 6
<meta name="viewport" content="width=device-width, initial-scale=1">
27th May 2017, 4:44 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 21
meta viewport.... ( <meta name=viewport content=width=device-width, initial-scale=1,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no> )
27th May 2017, 4:37 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
And for better fitting in all devices put width of objects in % and height in px ( most apps and website use this )
27th May 2017, 5:17 PM
Utkαrsh
Utkαrsh - avatar
0
THX to all for immediate help. It works well.
27th May 2017, 5:54 PM
R.30
R.30 - avatar