You Are Here:

Community: Developer Discussion Boards

#1 Old Main rules in XHTML MPsyntax - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 39
nkn_aikon
Offline
Registered User
What makes the XHTML Mobile Profile well-formed?
Reply With Quote

#2 Old RE: Main rules in XHTML Basic syntax - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 41
Moth
Offline
Registered User
XHTML MP strictly enforces the rules for well-formed, valid XML (Extensible Markup Language). A well-formed XML document conforms to all the rules for XML syntax. Main rules are:

- Every document must have an identifying XML header that is written properly
- Tag and attribute names must be written in lower case
- Elements must nest, no overlapping (one defined first, closed first)
- Non-empty elements must be closed (e.g. <p> tag to separate paragraphs)
- Empty elements must be terminated (tags without a closing tag, e.g. <br /&gt
- Attribute values must be quoted ("&quot
- Attribute value pairs can not be minimized (stand-alone attributes must be expanded, e.g. <ul compact="compact"&gt
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia