![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/03/2013, 16:33
|
| | Fecha de Ingreso: octubre-2012
Mensajes: 37
Antigüedad: 12 años, 4 meses Puntos: 0 | |
Respuesta: Iniciandome en HTML A ver muchas gracias por contestar tan rápido ![:-P](http://static.forosdelweb.com/fdwtheme/images/smilies/tongue.png) . He hecho lo que se me ha indicado de pasar los fragmentos de código por el validador y aun me siguen apareciendo fallos que no se solventar.
Dejare aquí el código a ver si alguien me puede decir cómo se solucionan INDEX.HTML
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>Programacion en Internet</TITLE>
</HEAD>
<FRAMESET ROWS = "141,60,*" BORDER = "0">
<FRAME name = "titulo" SRC = "./html/titulo.html" NORESIZE SCROLLING = "no">
<FRAME name = "menu" SRC = "./html/menu.html" NORESIZE SCROLLING = "no">
<FRAME name = "principal" SRC = "./html/principal.html" NORESIZE SCROLLING = "auto">
</FRAMESET>
<NOFRAMES>
<DIV>Su navegador no dispone de marcos.</DIV>
</NOFRAMES>
</HTML>
RESULTADO: 2 ERRORES
Line 9, Column 39: there is no attribute "BORDER"
Line 14, Column 11: document type does not allow element "NOFRAMES" here ENCONSTRUCCION.HTML
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE></TITLE>
</HEAD>
<BODY><DIV>
<CENTER><IMG SRC="../imagenes/en_construccion.png" ALT="Construccion"></CENTER></DIV>
</BODY>
</HTML>
RESULTADO: 1 ERROR
Línea 9, Columna 10 : elemento "CENTER" undefined TITULO.HTML
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>TITULO</TITLE>
<link href="../estilos/titulo.css" rel="stylesheet" type="text/css" media="screen">
</HEAD>
<BODY>
<DIV><IMG CLASS=BloqueTitulo SRC="../imagenes/titulo.png" ALT="Titulo"></DIV><A HREF="../html/acceso.html">Entrar al sistema <br></A>
<A TARGET="_blank" HREF="http://www.uca.es/"><IMG CLASS=LogoUca SRC="../imagenes/logoUCA.png" ALT="logoUCA"></A>
</BODY>
</HTML>
RESULTADO: 3 ERRORES
Line 10, Column 109: document type does not allow element "A" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag
Line 11, Column 13: there is no attribute "TARGET"
Line 11, Column 47: document type does not allow element "A" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag
Por último decir que en todos los HTML siempre me dan un warning al validarlo debido a algo que tiene que ver con el "utf-8" pero me sale el fragmento de código como validado. ¿Es eso normal? |