Foros del Web » Creando para Internet » Diseño Gráfico »

Problemas de validación

Estas en el tema de Problemas de validación en el foro de Diseño Gráfico en Foros del Web. Saludos. No se si esta es la parte del foro para esto, si no lo mueven y mis disculpas. Código HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD ...
  #1 (permalink)  
Antiguo 30/03/2009, 11:13
Avatar de gVenom  
Fecha de Ingreso: julio-2008
Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 15 años, 9 meses
Puntos: 53
Problemas de validación

Saludos.

No se si esta es la parte del foro para esto, si no lo mueven y mis disculpas.

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
no me acepta <p> dentro de un <li>, tampoco <span> dentro de un <li>, tampoco <br> dentro del <ul>

como demonios le pongo el estilo de texto entonces a mi texto? El problema es que esa parte esta organizada asi

Código HTML:
<ul>
      <li><strong>SECONCOMING</strong></li><br>
        <span class="style3">John 14:1-3</span>, says that Jesus promised He would return to earth.<br>
        <span class="style3">Matthew 24:3-7</span>, says that many signs will take place prior to Christ's coming.<br>
        <span class="style3">Matthew 24:14</span>, says that the gospel will be preached in all the world before Jesus comes.<br>
        <span class="style3">Revelation 1:7</span> says that when Jesus returns, everyone will see Him.<br>
        <span class="style3">Matthew 34: 27</span> says that His return will not be a secret event.<br>
        <span class="style3">First Thessalonians 4:16,17</span> says that the righteous dead will be resurrected at Christ's return.<br>
        <span class="style3">Revelation 6: 14-17</span> says that those who have not accepted Christ fear His coming.<br>
        <span class="style3">Titus 2:13</span> says that Jesus &quot;soon coming is a hope to many people&quot;.</p>
        
      <li><strong>HEAVEN AND EARTH</strong></li><br>
        <span class="style3">John 14:1-3</span> says that heaven is a very real place, with real people and things.<br>
        <span class="style3">Revelation 21:3</span> says that God will dwell with us.<br>
        <span class="style3">Hebrew 11:10</span> says that Abraham looked forward to going to heaven.<br>
        <span class="style3">Isaiah 66: 23</span> says that we will come together to worship the Lord on the Sabbath.<br>
        <span class="style3">Isaiahah 65:21</span> says that we will be able to build homes and plant crops in the new earth.<br>
        <span class="style3">Revelation 21:4</span>, says that there will be no more death, sorrow, crying, or pain there.<br>
        <span class="style3">Revelation 22:3</span> says that we will serve the Lord with joy.</p>
        
      <li><strong>EARTH&quot;S FINAL MESSAGE</strong></li>
      <span class="style3">Revelation 14:6-12</span> says the three messages are to be given to the world prior to Jesus' coming.<br>
        <span class="style3">Revelation 14:6,7</span> says that the first angel's message is one that will be given to the  whole world. It is a message describing the judgment in heaven.<br>
</ul> 
asi que ocupo diferentes estilos en el texto interno, pero la validación me lo marca como no permitido, como le hago? donde consigo los equivalentes de código o algo parecido?
__________________
"Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones."
Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr
  #2 (permalink)  
Antiguo 30/03/2009, 15:49
Avatar de Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Problemas de validación

Sí te debe aceptar span dentro de un LI, pero es que tú no lo estás poniendo dentro del LI, sino fuera, pero dentro del UL:
Cita:
<ul>
<li><strong>SECONCOMING</strong></li><br>
<span class="style3">John 14:1-3</span>, says...
Dentro de un UL no debe haber nada fuera de los LI, de manera que debería ser:
Cita:
<ul>
<li><strong>SECONCOMING</strong><br>
<span class="style3">John 14:1-3</span>, says... </li>
  #3 (permalink)  
Antiguo 30/03/2009, 16:14
Avatar de gVenom  
Fecha de Ingreso: julio-2008
Ubicación: Costa Rica
Mensajes: 1.458
Antigüedad: 15 años, 9 meses
Puntos: 53
Respuesta: Problemas de validación

ah, ya veo, en ese caso no me sirve para mis fines.

Gracias Mik
__________________
"Al que venciere y guardare mis obras hasta el fin, yo le daré autoridad sobre las naciones."
Apocalipsis 2: 26
Servicios para Pymes http://dst.co.cr
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 09:44.