XHTML MP is mostly what you already know about XHTML, plus a few special tags for mobile, like 'tel' for phone numbers. Most people surfing the web on a mobile device do have access to a phone so that's a nice addition.
But XHTML is strict, and mistakes in a mobile Web site are especially bad because mobile browser can't handle mistakes as well as the ones we use on desktop computers.
Here's an example of some badly written code in a seemingly simple XHTML MP page. Can you find the mistakes?
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<meta name="HandheldFriendly" content="True" />
<head><title>Fun and Games</title>
</head>
<body>
<h1>Play this Way<H1>
<p>I love playing games<br>
Sometimes it's <em>really<strong>fun</em></strong>
<caption>My Favorite Games
<UL>
<li>The chocolate game at <a href=" http://chocolategamerules.com/>ChocolateGameRules.com</a>
<li> <a href=" http://www.digitalfamily.com">Visit Digital Family.com</a>
</ul>
</body>
</html>
Seven Mobile Web Design Tips To Get You Started
How HTML5 will impact web design
Advanced CSS 3: How to use any font to format text on the mobile Web
Mobile Web Design For Dummies is about designing for the broad mobile audience and making sure your site works well even on limited mobile devices such as the Motorolla Razr. I’m now writing a book called iPhone/iPad Web Design For Dummies and with this book, I'm taking a giant leap forward into the future with lots of coverage of how to develop designs with HTML5 and CSS 3.
Order any of our books in the bookstore