Using XHTML and Styling Messages in Jabber XHTML-Basic in Jabber Nothing is really "required" in any sense, but if you would like to claim full conformance with this document, you must follow everything marked required, and should do some of the recommended stuffs... required: - must be the root element
- must be inside- indent or italicize or somehow indicate that this text is a quote, but a large one, usually a paragraph or more
- Clients should recognize that this is /n, and should be used instead of /n within the portion of - at least understand that this divides into paragraphs. Basic support for the various align types would be nice - This generally means italicsthrough
- The general headings, h1 is usually displayed with largest font size. Client should also understand that a /n is implied after a heading
- Client should understand this is a paragraph, and be sure to end with a
- At absolute least, translateto " andto ", so things will appear in quotes. A proper client will also understand nested quoting - Most clients should recognize this as bold - Clients should recognize at least http:// links (should they support jabber: as meaning a jabber user?), with optional support for mailto:. Relative links should be supported at the client's discresion optional, but recommended: - If the image is pointing somewhere that the client can find it, feel free to display it. This might be useful for clients which wish to be more graphical - they can ship with standard images, and somehow the UI can allow users to select them and display to each other. It is recommended that clients be able to display the alt text for images. (Not necessarily the images themselves)- this is used to designate a fragment of computer code - perhaps make this in a fixed font. It would be nice to see computer code exchanged with things like this instead of with quotations around it
- Understand that this means text should be indented, and that its children,
- are unordered (be sure to close the
- 's)
- Understand that this means text should be indented, and that its children,
- , are ordered, usually this means with numbers, optional support for type numbering styles optional: - If you want to do something special to an address and - if you wish to expand the title's of these on mouseover - "Contains a citation or a reference to other sources. " - "Indicates that this is the defining instance of the enclosed term. " - "Indicates text to be entered by the user."
- pre-formatted text. If possible, do not wrap text within, as it should have its own wrapping - "Designates sample output from programs, scripts, etc." - "Indicates an instance of a variable or program argument."and its buddies
- and
- - these are used for definition lists. Not that much more useful than
and
... not needed: