SlideShare ist ein Scribd-Unternehmen logo
1 von 57
XML:
         HTML y XHTML

         Sergio Luján Mora
         sergio.lujan@ua.es
XML-03
Vídeo de esta presentación
     Puedes ver esta presentación en vídeo:

http://www.youtube.com/watch?v=EDTgmwVNGjs
XHTML es el lenguaje de marcado
pensado para sustituir a HTML
como estándar para las páginas
web.
XML

XHTML 1.0
XHTML es el lenguaje de marcado pensado
para sustituir a HTML como estándar para las
páginas web.
En su versión 1.0, XHTML es solamente la
versión XML de HTML, por lo que tiene,
básicamente, las mismas funcionalidades,
pero cumple las especificaciones, más
estrictas, de XML.
XHTML incorpora a las páginas web el rigor
de XML, lo cual se traduce en un mejor
procesamiento, un mantenimiento más
sencillo y es el primer paso hacia la llamada
web semántica.
XHTML 2.0
 XHTML Modular
             XHTML Print
       XHTML 1.0 Basic
XHTML 1.1
              XHTML

   XHTML Abstract Modules
Apple
Mozilla2004
        Foundation
 Opera Software
Web Hypertext Application Technology Working Group
WHATWG
2006
2007
Diferencias con XHTML
• Versiones de HTML 4.01:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
  Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
  "http://www.w3.org/TR/html4/frameset.dtd">
Diferencias con XHTML
• Versiones de XHTML 1.0:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
  Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
  transitional.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml”>

<head>
   <title>An XHTML 1.0 Strict standard template</title>
   <meta http-equiv="content-type"
        content="text/html;charset=utf-8" />
</head>

<body>
     <p>… Your HTML content here …</p>
</body>
</html>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml”>

<head>
   <title>An XHTML 1.0 Strict standard template</title>
   <meta http-equiv="content-type"
        content="text/html;charset=ISO-8859-1" />
</head>

<body>
     <p>… Your HTML content here …</p>
</body>
</html>
Diferencias
HTML - XHTML
1. Los documentos tienen que estar bien
   formados
  – Incorrecto: elementos superpuestos.
  <p>aquí hay un <b>texto en
    negrita</p></b>
  – Correcto: elementos anidados.
  <p>aquí hay un <b>texto en
    negrita</b></p>
2. Los elementos y atributos tienen que estar
   en minúsculas
   – Incorrecto: mezcla de mayúsculas y minúsculas.
   <table BORDER="0"><TR ALIGN="LEFT">
   – Correcto: todo en minúsculas.
   <table border="0"><tr align="left">
3. Los elementos vacíos llevan etiqueta de
   cierre
   – Incorrecto: elementos vacíos sin etiqueta de cierre.
   <br><hr>
   – Correcto: elementos vacíos con etiqueta de cierre.
   <br></br><hr></hr>
   o
   <br/><hr/>
4. Los elementos no vacíos necesitan la
   etiqueta de cierre
   – Incorrecto: elementos sin etiqueta de cierre.
   <p>Esto es un párrafo.<p>Esto es
     otro párrafo.
   – Correcto: elementos con etiqueta de cierre.
   <p>Esto es un párrafo.</p><p>Esto es
     otro párrafo.</p>
5. Los valores de los atributos tienen que llevar
   siempre comillas
   – Incorrecto: valores de atributos sin comillas.
   <table rows=3>
   – Correcto: valores de atributos entre comillas.
   <table rows="3">
   <table rows='3'>
6. La minimización de atributos no es posible
   – Incorrecto: atributo minimizado.
   <dl compact>
   <option value="1" selected>
   <input type="radio" checked>
   – Correcto: atributo no minimizado.
   <dl compact="compact">
   <option value="1" selected="selected">
   <input type="radio" checked="checked">
7. Manejo de espacios en blanco en los
   atributos
  –   Espacios en blanco al principio y al final: se
      eliminan
  –   Uno o más espacios en blanco (incluyendo saltos
      de línea) se traducen en un único espacio en
      blanco entre palabras
8. Empleo de scripts (<script>) y estilos
   (<style>)
  - Interpretación de < y &
  - <![CDATA[
  ... contenido de script ...
  ]]>
  - Usar ficheros separados
9. Exclusiones de SGML
   - Elementos que no pueden ser contenidos en otros
   elementos
  a: a
  pre: img, object, big, small, sub, sup
  button: input, select, textarea, label,
       button, form, fieldset, iframe isindex
  label: label
  form: form
10. Solo el atributo id actúa como identificador
   – Incorrecto: no es un atributo identificador.
   <a name="algo">
   – Correcto: id es un atributo ID.
   <a id="algo">
11. Atributos con conjunto de valores
    predefinidos
   – Incorrecto: mezcla de mayúsculas y minúsculas.
   <tr align="LEFT">
   <input type="TEXT" name="algo">
   – Correcto: todo en minúsculas.
   <tr align="left">
   <input type="text" name="algo">
12. Referencias de entidad como valores
    hexadecimales
   – Incorrecto: valores de atributos sin comillas.
   &#Xnn;
   &#xnn;
   – Correcto: sólo en minúsculas.
   &#xnn;
Diferencias
HTML - XHTML
Más información:

http://accesibilidadweb.dlsi.ua.es/

 http://desarrolloweb.dlsi.ua.es/

       sergio.lujan@ua.es
Créditos de fotografías e imágenes:
http://www.sxc.hu/photo/1238327
http://www.w3.org/Consortium/Legal/logo-usage-20000308
http://dev.xguru.net/html5/src/html5timeline.png
http://www.sxc.hu/photo/1337950
http://www.w3.org/html/logo/
http://www.sxc.hu/photo/1008265
http://www.sxc.hu/photo/614056
http://www.sxc.hu/photo/1287371
http://es.wikipedia.org/wiki/Archivo:Etiquetas_en_HTML.png

Weitere ähnliche Inhalte

Was ist angesagt?

Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xmlXavierjk
 
Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xmlCA IH
 
Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xmlbyron_ortega81
 
Programacion
ProgramacionProgramacion
Programacionalraulsc
 
Deber programacion
Deber programacionDeber programacion
Deber programacionYOU10
 
Diferencias de html y xml
Diferencias de html y xmlDiferencias de html y xml
Diferencias de html y xmlXimena Mejia
 
2do c3 reyes jose
2do c3 reyes jose2do c3 reyes jose
2do c3 reyes josejjreycam
 
De html xml
De html xmlDe html xml
De html xmlMAJITHOO
 
4 Guia Xhtm Lv2.1
4   Guia Xhtm Lv2.14   Guia Xhtm Lv2.1
4 Guia Xhtm Lv2.1Ergoclicks
 
Diferencias entre
Diferencias entreDiferencias entre
Diferencias entredsanti87
 

Was ist angesagt? (19)

Diferencias entre xml y html
Diferencias entre xml y htmlDiferencias entre xml y html
Diferencias entre xml y html
 
Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xml
 
Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xml
 
Diferencia entre html y xml
Diferencia entre html y xmlDiferencia entre html y xml
Diferencia entre html y xml
 
Presentación1
Presentación1Presentación1
Presentación1
 
Xml y html
Xml y htmlXml y html
Xml y html
 
Ug 2011 html janina victor
Ug 2011 html janina victorUg 2011 html janina victor
Ug 2011 html janina victor
 
Programacion
ProgramacionProgramacion
Programacion
 
Html y xml veliz ruben
Html y xml veliz rubenHtml y xml veliz ruben
Html y xml veliz ruben
 
Ug 2011 html tomala
Ug 2011 html tomalaUg 2011 html tomala
Ug 2011 html tomala
 
Deber programacion
Deber programacionDeber programacion
Deber programacion
 
Diferencias de html y xml
Diferencias de html y xmlDiferencias de html y xml
Diferencias de html y xml
 
2do c3 reyes jose
2do c3 reyes jose2do c3 reyes jose
2do c3 reyes jose
 
Diferencias
DiferenciasDiferencias
Diferencias
 
Christianjaimea-6
Christianjaimea-6Christianjaimea-6
Christianjaimea-6
 
De html xml
De html xmlDe html xml
De html xml
 
Guevara 2 c3
Guevara 2 c3Guevara 2 c3
Guevara 2 c3
 
4 Guia Xhtm Lv2.1
4   Guia Xhtm Lv2.14   Guia Xhtm Lv2.1
4 Guia Xhtm Lv2.1
 
Diferencias entre
Diferencias entreDiferencias entre
Diferencias entre
 

Andere mochten auch

Andere mochten auch (13)

curso html
curso htmlcurso html
curso html
 
Introducción a HTML
Introducción a HTMLIntroducción a HTML
Introducción a HTML
 
Html y xml
Html y xmlHtml y xml
Html y xml
 
Investigacion de html y xml
Investigacion de html y xmlInvestigacion de html y xml
Investigacion de html y xml
 
Html y xml
Html y xmlHtml y xml
Html y xml
 
La web 2.0
La web 2.0La web 2.0
La web 2.0
 
Internet 1
Internet 1Internet 1
Internet 1
 
HTML5 Enfoque Semantico
HTML5 Enfoque SemanticoHTML5 Enfoque Semantico
HTML5 Enfoque Semantico
 
El uso de internet en la vida cotidiana
El uso de internet en la vida cotidianaEl uso de internet en la vida cotidiana
El uso de internet en la vida cotidiana
 
Internet y sus servicios
Internet y sus serviciosInternet y sus servicios
Internet y sus servicios
 
Html4
Html4Html4
Html4
 
Internet ppt
Internet pptInternet ppt
Internet ppt
 
Ppt on internet
Ppt on internetPpt on internet
Ppt on internet
 

Ähnlich wie XML: HTML y XHTML

Ähnlich wie XML: HTML y XHTML (20)

Xhtml fundamentos
Xhtml  fundamentosXhtml  fundamentos
Xhtml fundamentos
 
Elementos de html5 y css3
Elementos de html5 y css3Elementos de html5 y css3
Elementos de html5 y css3
 
Presentación Seminario Cleformación HTML5, El lenguaje del futuro
Presentación Seminario Cleformación HTML5, El lenguaje del futuroPresentación Seminario Cleformación HTML5, El lenguaje del futuro
Presentación Seminario Cleformación HTML5, El lenguaje del futuro
 
Etiquetas html
Etiquetas htmlEtiquetas html
Etiquetas html
 
05 Introduccion a HTML
05 Introduccion a HTML05 Introduccion a HTML
05 Introduccion a HTML
 
Dispositivas CURSO HTML 5.pdf
Dispositivas CURSO HTML 5.pdfDispositivas CURSO HTML 5.pdf
Dispositivas CURSO HTML 5.pdf
 
Lenguaje xhtml
Lenguaje xhtmlLenguaje xhtml
Lenguaje xhtml
 
PRESENTACION SOPBREE EL USO DEL XHTML
PRESENTACION SOPBREE EL USO DEL    XHTMLPRESENTACION SOPBREE EL USO DEL    XHTML
PRESENTACION SOPBREE EL USO DEL XHTML
 
Guía básica para pegarle al xhtml (Primera parte)
Guía básica para pegarle al xhtml (Primera parte)Guía básica para pegarle al xhtml (Primera parte)
Guía básica para pegarle al xhtml (Primera parte)
 
05introduccionhtml 100901142734-phpapp02
05introduccionhtml 100901142734-phpapp0205introduccionhtml 100901142734-phpapp02
05introduccionhtml 100901142734-phpapp02
 
HTML y CSS
HTML y CSSHTML y CSS
HTML y CSS
 
001 html
001 html001 html
001 html
 
Clase 04 Html
Clase 04   HtmlClase 04   Html
Clase 04 Html
 
Xhtml
XhtmlXhtml
Xhtml
 
Prg java l
Prg java lPrg java l
Prg java l
 
Introducción a xhtml
Introducción a xhtmlIntroducción a xhtml
Introducción a xhtml
 
HTML5 Nuevas Etiquetas Semanticas
HTML5 Nuevas Etiquetas SemanticasHTML5 Nuevas Etiquetas Semanticas
HTML5 Nuevas Etiquetas Semanticas
 
Html - Tema 1
Html - Tema 1Html - Tema 1
Html - Tema 1
 
Html4
Html4Html4
Html4
 
XML en .NET
XML en .NETXML en .NET
XML en .NET
 

Mehr von Sergio Luján Mora - Universidad de Alicante

Mehr von Sergio Luján Mora - Universidad de Alicante (20)

Delivering location-based services using GIS, WAP, and the Web: two applications
Delivering location-based services using GIS, WAP, and the Web: two applicationsDelivering location-based services using GIS, WAP, and the Web: two applications
Delivering location-based services using GIS, WAP, and the Web: two applications
 
Clustering of Similar Values, in Spanish, for the Improvement of Search Systems
Clustering of Similar Values, in Spanish, for the Improvement of Search SystemsClustering of Similar Values, in Spanish, for the Improvement of Search Systems
Clustering of Similar Values, in Spanish, for the Improvement of Search Systems
 
XML: Ejemplos de uso
XML: Ejemplos de usoXML: Ejemplos de uso
XML: Ejemplos de uso
 
XML: Introducción
XML: IntroducciónXML: Introducción
XML: Introducción
 
Cookies: ¿Cómo funcionan?
Cookies: ¿Cómo funcionan?Cookies: ¿Cómo funcionan?
Cookies: ¿Cómo funcionan?
 
Cookies: ¿Qué son y para qué sirven?
Cookies: ¿Qué son y para qué sirven?Cookies: ¿Qué son y para qué sirven?
Cookies: ¿Qué son y para qué sirven?
 
Cookies: Uso en JavaScript
Cookies: Uso en JavaScriptCookies: Uso en JavaScript
Cookies: Uso en JavaScript
 
Curso Introduccion accesibilidad web
Curso Introduccion accesibilidad webCurso Introduccion accesibilidad web
Curso Introduccion accesibilidad web
 
¿Qué es un CAPTCHA? Origen y uso
¿Qué es un CAPTCHA? Origen y uso¿Qué es un CAPTCHA? Origen y uso
¿Qué es un CAPTCHA? Origen y uso
 
¿Qué es un CAPTCHA? Futuro
¿Qué es un CAPTCHA? Futuro¿Qué es un CAPTCHA? Futuro
¿Qué es un CAPTCHA? Futuro
 
Errores web: Tame
Errores web: TameErrores web: Tame
Errores web: Tame
 
Errores web: Renfe y las fechas
Errores web: Renfe y las fechasErrores web: Renfe y las fechas
Errores web: Renfe y las fechas
 
Errores web: Renfe y los nombres de las ciudades
Errores web: Renfe y los nombres de las ciudadesErrores web: Renfe y los nombres de las ciudades
Errores web: Renfe y los nombres de las ciudades
 
Errores web: El País
Errores web: El PaísErrores web: El País
Errores web: El País
 
Errores web: Amadeus y su calendario
Errores web: Amadeus y su calendarioErrores web: Amadeus y su calendario
Errores web: Amadeus y su calendario
 
Errores web: Rumbo y su calendario
Errores web: Rumbo y su calendarioErrores web: Rumbo y su calendario
Errores web: Rumbo y su calendario
 
Herramientas de trabajo colaborativo
Herramientas de trabajo colaborativoHerramientas de trabajo colaborativo
Herramientas de trabajo colaborativo
 
Herramientas educativas
Herramientas educativasHerramientas educativas
Herramientas educativas
 
Recursos 2.0 de la Universidad de Alicante
Recursos 2.0 de la Universidad de AlicanteRecursos 2.0 de la Universidad de Alicante
Recursos 2.0 de la Universidad de Alicante
 
La Web 2.0 y la educación
La Web 2.0 y la educaciónLa Web 2.0 y la educación
La Web 2.0 y la educación
 

Kürzlich hochgeladen

VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMAL
VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMALVOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMAL
VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMALEDUCCUniversidadCatl
 
PPT_Formación integral y educación CRESE (1).pdf
PPT_Formación integral y educación CRESE (1).pdfPPT_Formación integral y educación CRESE (1).pdf
PPT_Formación integral y educación CRESE (1).pdfEDILIAGAMBOA
 
TEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfTEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfDannyTola1
 
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024gharce
 
Los Nueve Principios del Desempeño de la Sostenibilidad
Los Nueve Principios del Desempeño de la SostenibilidadLos Nueve Principios del Desempeño de la Sostenibilidad
Los Nueve Principios del Desempeño de la SostenibilidadJonathanCovena1
 
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfTarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfManuel Molina
 
c3.hu3.p1.p3.El ser humano como ser histórico.pptx
c3.hu3.p1.p3.El ser humano como ser histórico.pptxc3.hu3.p1.p3.El ser humano como ser histórico.pptx
c3.hu3.p1.p3.El ser humano como ser histórico.pptxMartín Ramírez
 
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDUgustavorojas179704
 
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADO
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADODECÁGOLO DEL GENERAL ELOY ALFARO DELGADO
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADOJosé Luis Palma
 
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJO
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJOTUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJO
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJOweislaco
 
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfBIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfCESARMALAGA4
 
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...fcastellanos3
 
Uses of simple past and time expressions
Uses of simple past and time expressionsUses of simple past and time expressions
Uses of simple past and time expressionsConsueloSantana3
 
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdf
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdfLA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdf
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdfNataliaMalky1
 
Introducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleIntroducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleJonathanCovena1
 
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdfOswaldoGonzalezCruz
 
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfTarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfCarol Andrea Eraso Guerrero
 
periodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicasperiodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicas123yudy
 
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdf
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdfFisiologia.Articular. 3 Kapandji.6a.Ed.pdf
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdfcoloncopias5
 

Kürzlich hochgeladen (20)

VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMAL
VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMALVOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMAL
VOLUMEN 1 COLECCION PRODUCCION BOVINA . SERIE SANIDAD ANIMAL
 
PPT_Formación integral y educación CRESE (1).pdf
PPT_Formación integral y educación CRESE (1).pdfPPT_Formación integral y educación CRESE (1).pdf
PPT_Formación integral y educación CRESE (1).pdf
 
TEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdfTEST DE RAVEN es un test conocido para la personalidad.pdf
TEST DE RAVEN es un test conocido para la personalidad.pdf
 
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024
SISTEMA INMUNE FISIOLOGIA MEDICA UNSL 2024
 
Los Nueve Principios del Desempeño de la Sostenibilidad
Los Nueve Principios del Desempeño de la SostenibilidadLos Nueve Principios del Desempeño de la Sostenibilidad
Los Nueve Principios del Desempeño de la Sostenibilidad
 
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdfTarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
Tarea 5_ Foro _Selección de herramientas digitales_Manuel.pdf
 
c3.hu3.p1.p3.El ser humano como ser histórico.pptx
c3.hu3.p1.p3.El ser humano como ser histórico.pptxc3.hu3.p1.p3.El ser humano como ser histórico.pptx
c3.hu3.p1.p3.El ser humano como ser histórico.pptx
 
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
 
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADO
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADODECÁGOLO DEL GENERAL ELOY ALFARO DELGADO
DECÁGOLO DEL GENERAL ELOY ALFARO DELGADO
 
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJO
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJOTUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJO
TUTORIA II - CIRCULO DORADO UNIVERSIDAD CESAR VALLEJO
 
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdfBIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
BIOLOGIA_banco de preguntas_editorial icfes examen de estado .pdf
 
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
Estas son las escuelas y colegios que tendrán modalidad no presencial este lu...
 
Uses of simple past and time expressions
Uses of simple past and time expressionsUses of simple past and time expressions
Uses of simple past and time expressions
 
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdf
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdfLA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdf
LA OVEJITA QUE VINO A CENAR CUENTO INFANTIL.pdf
 
Introducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleIntroducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo Sostenible
 
TL/CNL – 2.ª FASE .
TL/CNL – 2.ª FASE                       .TL/CNL – 2.ª FASE                       .
TL/CNL – 2.ª FASE .
 
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
 
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdfTarea 5-Selección de herramientas digitales-Carol Eraso.pdf
Tarea 5-Selección de herramientas digitales-Carol Eraso.pdf
 
periodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicasperiodico mural y sus partes y caracteristicas
periodico mural y sus partes y caracteristicas
 
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdf
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdfFisiologia.Articular. 3 Kapandji.6a.Ed.pdf
Fisiologia.Articular. 3 Kapandji.6a.Ed.pdf
 

XML: HTML y XHTML

  • 1. XML: HTML y XHTML Sergio Luján Mora sergio.lujan@ua.es XML-03
  • 2. Vídeo de esta presentación Puedes ver esta presentación en vídeo: http://www.youtube.com/watch?v=EDTgmwVNGjs
  • 3.
  • 4.
  • 5.
  • 6. XHTML es el lenguaje de marcado pensado para sustituir a HTML como estándar para las páginas web.
  • 7.
  • 8.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. XHTML es el lenguaje de marcado pensado para sustituir a HTML como estándar para las páginas web. En su versión 1.0, XHTML es solamente la versión XML de HTML, por lo que tiene, básicamente, las mismas funcionalidades, pero cumple las especificaciones, más estrictas, de XML.
  • 18. XHTML incorpora a las páginas web el rigor de XML, lo cual se traduce en un mejor procesamiento, un mantenimiento más sencillo y es el primer paso hacia la llamada web semántica.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. XHTML 2.0 XHTML Modular XHTML Print XHTML 1.0 Basic XHTML 1.1 XHTML XHTML Abstract Modules
  • 24. Apple Mozilla2004 Foundation Opera Software
  • 25. Web Hypertext Application Technology Working Group
  • 27. 2006
  • 28. 2007
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Diferencias con XHTML • Versiones de HTML 4.01: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  • 35. Diferencias con XHTML • Versiones de XHTML 1.0: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  • 36.
  • 37. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml”> <head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> </head> <body> <p>… Your HTML content here …</p> </body> </html>
  • 38. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml”> <head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" /> </head> <body> <p>… Your HTML content here …</p> </body> </html>
  • 39.
  • 41.
  • 42. 1. Los documentos tienen que estar bien formados – Incorrecto: elementos superpuestos. <p>aquí hay un <b>texto en negrita</p></b> – Correcto: elementos anidados. <p>aquí hay un <b>texto en negrita</b></p>
  • 43. 2. Los elementos y atributos tienen que estar en minúsculas – Incorrecto: mezcla de mayúsculas y minúsculas. <table BORDER="0"><TR ALIGN="LEFT"> – Correcto: todo en minúsculas. <table border="0"><tr align="left">
  • 44. 3. Los elementos vacíos llevan etiqueta de cierre – Incorrecto: elementos vacíos sin etiqueta de cierre. <br><hr> – Correcto: elementos vacíos con etiqueta de cierre. <br></br><hr></hr> o <br/><hr/>
  • 45. 4. Los elementos no vacíos necesitan la etiqueta de cierre – Incorrecto: elementos sin etiqueta de cierre. <p>Esto es un párrafo.<p>Esto es otro párrafo. – Correcto: elementos con etiqueta de cierre. <p>Esto es un párrafo.</p><p>Esto es otro párrafo.</p>
  • 46. 5. Los valores de los atributos tienen que llevar siempre comillas – Incorrecto: valores de atributos sin comillas. <table rows=3> – Correcto: valores de atributos entre comillas. <table rows="3"> <table rows='3'>
  • 47. 6. La minimización de atributos no es posible – Incorrecto: atributo minimizado. <dl compact> <option value="1" selected> <input type="radio" checked> – Correcto: atributo no minimizado. <dl compact="compact"> <option value="1" selected="selected"> <input type="radio" checked="checked">
  • 48. 7. Manejo de espacios en blanco en los atributos – Espacios en blanco al principio y al final: se eliminan – Uno o más espacios en blanco (incluyendo saltos de línea) se traducen en un único espacio en blanco entre palabras
  • 49. 8. Empleo de scripts (<script>) y estilos (<style>) - Interpretación de < y & - <![CDATA[ ... contenido de script ... ]]> - Usar ficheros separados
  • 50. 9. Exclusiones de SGML - Elementos que no pueden ser contenidos en otros elementos a: a pre: img, object, big, small, sub, sup button: input, select, textarea, label, button, form, fieldset, iframe isindex label: label form: form
  • 51. 10. Solo el atributo id actúa como identificador – Incorrecto: no es un atributo identificador. <a name="algo"> – Correcto: id es un atributo ID. <a id="algo">
  • 52. 11. Atributos con conjunto de valores predefinidos – Incorrecto: mezcla de mayúsculas y minúsculas. <tr align="LEFT"> <input type="TEXT" name="algo"> – Correcto: todo en minúsculas. <tr align="left"> <input type="text" name="algo">
  • 53. 12. Referencias de entidad como valores hexadecimales – Incorrecto: valores de atributos sin comillas. &#Xnn; &#xnn; – Correcto: sólo en minúsculas. &#xnn;
  • 56.
  • 57. Créditos de fotografías e imágenes: http://www.sxc.hu/photo/1238327 http://www.w3.org/Consortium/Legal/logo-usage-20000308 http://dev.xguru.net/html5/src/html5timeline.png http://www.sxc.hu/photo/1337950 http://www.w3.org/html/logo/ http://www.sxc.hu/photo/1008265 http://www.sxc.hu/photo/614056 http://www.sxc.hu/photo/1287371 http://es.wikipedia.org/wiki/Archivo:Etiquetas_en_HTML.png