Saturday, December 8, 2007

.mobi

.mobi is the Internet extension for Web sites that are designed for mobile devices such as cell phones from the ground up.

Suppose you are building a site with a number of options on it that are rendered as html links. On a regular Web page, you may need to scroll down to the link you are interested om and then to select it.

On a .mbi site, you will be using Access Keys which allow a user to quickly to navigate to a link on a page by assigning one of the mobile device's (say a smart phone) keypad keys to that link. The HTML code to execute this is a as follows:

[1]<a accesskey="1" href="link1.html">Link 1</a>


[2]<a accesskey="2" href="link2.html">Link 2</a>



And if you wish a phone call to be made (in an anlogous way to sending an email) by clicking on a hyperlink you would write:

<a href="tel:XXXXXXXXXX"> Call Us! </a>

No comments:

Post a Comment