A site devoted mostly to everything related to Information Technology under the sun - among other things.

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:

About Me

My photo
I am a senior software developer working for General Motors Corporation.. I am interested in intelligent computing and scientific computing. I am passionate about computers as enablers for human imagination. The contents of this site are not in any way, shape, or form endorsed, approved, or otherwise authorized by HP, its subsidiaries, or its officers and shareholders.

Blog Archive