XHTML Basic

XHTML Basic is an XML-based structured markup language primarily used for simple (mainly handheld) user agents, typically mobile devices.

XHTML Basic is a subset of XHTML 1.1, defined using XHTML Modularization including a reduced set of modules for document structure, images, forms, basic tables, and object support. XHTML Basic is suitable for mobile phones, PDAs, pagers, and settop boxes.

It will replace WML and C-HTML as more compliant user agents are developed.

One large advantage XHTML Basic has over WML and C-HTML is that XHTML Basic pages can be rendered differently in web browsers and on handhelds, without the need for two different versions of the same page.

In 2006, the specification was revised to version 1.1. Six new features have been incorporated into the language in order to better serve the small-device community.

DOCTYPE

To validate as XHTML Basic, a document must contain the following Document Type Declaration, or DOCTYPE:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">

A complete valid and well-formed example is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
    "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Hello</title>
  </head>
  <body>
    <p>Hello <a href="http://example.org/">world</a>.</p>
  </body>
</html>

Served with a MIME type of "application/xhtml+xml".

XHTML-Print

XHTML-Print, which became a W3C Recommendation in September 2006, is a specialized version of XHTML Basic designed for documents printed from information appliances to low-end printers.[1]

gollark: Ah. Nobody knows that. Except lemmmy himself, and even then not really; it's due for a bit of an overhaul, but since it mostly works and lemmmy hadn't enough free time, it's not gotten one.
gollark: The commands for use on the server? The API? How the node works internally?
gollark: The krist system, as in... what?
gollark: He owns Wolf Mall, and therefore basically has a monopoly on shop space, so ask him.
gollark: 🐪Actual size (note: as measured on 10000 inch screen, may be different on yours)

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.