Home |
Blog |
( 3 ) |
Subscribe
Disclosure: This post may contain affiliate links which may earn us a commission when you click on them.
Posted by
Felix Okoli on Saturday March 12, 2011 at 13:34:3:
Although you could use an opera mini simulator to view the way your mobile site would be displayed on a mobile browser like a Nokia or Samsung phone, you could also use w3c's online validator to test your xhtml page or template assuming you are web developer in building and testing your mobile site if it is in xhtml format.
For most modern day phones, xhtml is a great format for developing mobile sites which also allow you to use css to manage its output.
Since I am kind of a part time web developer, I have been using that resource at http://validator.w3.org/ to test if my xhtml files are valid so that they would work well on mobile browsers as well as appear on mobile search results like Google. In order to be able to create a mobile version of your site of convert a html page into xhtml, you just need to make a few tweaks in the colde and include stuff like "html xmlns=http://www.w3.org/1999/xhtml" in the header instead of just html. Also you need to use valid html tags and close every opened tags. XHTML is just like html but it is more of a valid html since if it was incorrect, it could cause errors on mobile browsers. So I normally use Macromedia's Dreamweaver to set up a format of how I would want a mobile site to look like before adding some other touches.
In order to be able to test your mobile xhtml site for validity as well as view any errors within it, you can do this by simply using that online resource at validator.w3c.org and if it is properly done, it would output "This document was successfully checked as XHTML".
Comments: