XHTML Basic

XHTML Basic es un lenguaje de marcado basado en XML principalmente usado para agentes de usuario sencillos (principalmente handhelds), típicamente dispositivos móviles.[1]

XHTML Basic es un subconjunto de XHTML 1.1, definido usando modularización XHTML, e incluyendo un conjunto reducido de módulos para la estructura, imágenes, formularios, tablas básicas, y soporte de objetos. XHTML Basic está diseñado para teléfonos móviles, PDAs, lectores, y TVs interactivas. También reemplazó a WML y C-HTML.

Una gran ventaja que posee XHTML Basic sobre WML and C-HTML es que las páginas hechas en XHTML Basic pueden ser renderizadas de manera diferente en navegadores web y en dispositivos móviles, sin la necesidad de tener dos diferentes versiones de la misma página.

En 2006, la especificación fue actualizada a la versión 1.1. Seis nuevas características fueron incorporadas en el lenguaje para servir mejor a la comunidad de dispositivos móviles.

DOCTYPE

Para validar un documento XHTML Basic, se debe usar la siguiente DTD:

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

Un ejemplo de un documento válido y bien formado:

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

Que debe servirse con MIME Type "application/xhtml+xml".

Véase también

Referencias

  1. «XHTML™ Basic 1.1». W3C. 5 de julio de 2006. Consultado el 10 de noviembre de 2017. 

Enlaces externos

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.