I'm designing a mobile page and am using the following (standard, I believe) code to make the phone dial a phone number.
<a href="tel:555-1234567" class="call"><img src="graphics/call-icon.gif" alt="call-icon" width="45" height="50"></a>
This works fine in android but Mobile Safari I get the following error:
Cannot Open Page
Safari cannot open the page because the address is invalid
Your mark-up is fine, and it works on my iPhone (3GS, running 4.3.5). It doesn't work on the iOS simulator (yep, there's the "Cannot Open Page - Safari cannot open the page because the address is invalid" error), but then I wouldn't expect it to, given that you can't make calls on it (either that or the older version of iOS is at fault).