Search code examples
htmltestingmobile-website

How to test html5 mobile webpage on pc


Am developing a html5 mobile webpage with html5,css3 and javascript.but how to test the layouts in pc.I tried to add some plugins to resize the browser to the resolution of mobile phones,but din succeed.


Solution

  • Opera has a mobile device emulator which simulates a number of devices and you can create your own.

    http://www.opera.com/developer/tools/mobile/

    Chrome has a feature which allows you to set the user agent and device metrics to test on mobile devices. You can access this by pressing f12 to open developer tools and click the little cog in the bottom right hand corner.