Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    Main rules in XHTML MPsyntax

    What makes the XHTML Mobile Profile well-formed?

  2. #2
    Registered User
    Join Date
    Mar 2003

    RE: Main rules in XHTML Basic syntax

    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

Posting Permissions

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