This page was last modified 09:42, 12 December 2007.
XHTML
From Forum Nokia Wiki
XHTML MP Overview
XHTML MP (eXtensible HyperText Markup Language Mobile Profile) is the markup language defined in WAP 2.0. WAP 2.0 is the most recent mobile services specification created by the WAP Forum (now the Open Mobile Alliance [OMA]). Advantages:The greatest advantage brought by XHTML MP is that developers can now use the same technologies for the development of both web sites and WAP sites. Syntax: Tags must be closed properly
Tags and attributes must be in lowercase
Value of attributes must be enclosed within quotation marks
No attribute minimization is allowed
Tags must be nested properly
MIME Types The following three MIME types can be used for XHTML MP documents:
application/vnd.wap.xhtml+xml
application/xhtml+xml
text/html
XHTML MP Document Structure
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <title>XHTML MP Tutorial</title> </head>
<body>
Hello world. Welcome to our XHTML MP tutorial.
</body>
</html>
WAP CSS :
CSS describes how documents are presented on the screen in the browser.
WAP CSS is a subset of CSS appropriate for small devices defined by the OMA; it omits features that are not appropriate for very small devices and adds some WAP-specific Using CSS, a document author can specify the presentation of an entire Web application in one place: the style sheet.
CSS separates the content of the document or application from the presentation. This enables you to easily create browser-specific versions of the same content simply by creating the appropriate style sheet.
Sample.css li{ list- style - type:disc; margin - bottom:4px; margin- left:2px;}
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How does xHTML work with the Mobile Internet toolkit and MS IIS ASP ? | jruggiero | Browsing and Mark-ups | 3 | 2002-11-09 17:19 |
| Browser Emulator - xhtml rendered as text | papasosa | Browsing and Mark-ups | 2 | 2004-05-11 16:38 |
| How does xHTML work with the Mobile Internet toolkit and MS IIS ASP ? | jruggiero | Browsing and Mark-ups | 3 | 1970-01-01 02:00 |
| How does xHTML work with the Mobile Internet toolkit and MS IIS ASP ? | sudnyesh | Browsing and Mark-ups | 3 | 1970-01-01 02:00 |
| When you have WAP 2.0 mobile device ... | aricdromi | General Browsing | 1 | 2002-05-16 07:06 |
