WebSite X5Help Center

 
Jerome P.
Jerome P.
User

Como insertar codigo HTML sin que en el paso 5 Analiza y optimiza la web no de errores  es

Autore: Jerome P.
Visite 1989, Followers 1, Condiviso 0  

Buenas tardes

Estoy intentando optimizar mi web, pero me surgen numerosos errores de "hay errores en el codigo personalido introducido a traves del objeto HTML".

Un ejemplo de codigo que introduzco es el siguiente:

<!DOCTYPE html>
<html lang="es-MX">
 <head>
  <meta charset="utf-8" />
  <title>Nada
  </title>
  <style type="text/css">
   body { line-height:108%; font-family:Calibri; font-size:11pt }
   p { margin:0pt 0pt 8pt }
   table { margin-top:0pt; margin-bottom:8pt }
  </style>
 </head>
 <body>
  <div>
   <table style="margin-right:auto; margin-left:auto; margin-bottom:0; border:0.75pt solid #bdd7ee; border-collapse:collapse">
    <tr style="height:28.2pt">
     <td rowspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.12pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Temperatura</span></strong>
      </p>
     </td>
     <td rowspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-left:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.12pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Presión</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Volumen másico</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Densidad másica</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Entalpía</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Entropía</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Calor especifico a volumen constante</span></strong>
      </p>
     </td>
     <td colspan="2" style="width:55.35pt; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Calor especifico a presión constante</span></strong>
      </p>
     </td>
    </tr>
    <tr style="height:14.4pt">
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">líquido</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">vapor</span></strong>
      </p>
     </td>
    </tr>
    <tr style="height:14.4pt">
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.12pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">t</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">p</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">v</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">v'</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">ρ</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">ρ'</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">h</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">h'</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">s</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">s'</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Cv</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Cv'</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Cp</span></strong>
      </p>
     </td>
     <td style="width:55.35pt; border-bottom:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ff8000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <strong><span style="color:#fce4d6">Cp'</span></strong>
      </p>
     </td>
    </tr>
    <tr style="height:14.4pt">
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.12pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">°C</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">Kpa</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">m³/kg</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">m³/kg</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kg/m³</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kg/m³</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
     <td style="width:55.35pt; border-right:0.75pt solid #bdd7ee; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
     <td style="width:55.35pt; padding-right:3.12pt; padding-left:3.5pt; vertical-align:middle; background-color:#ffc000">
      <p style="margin-bottom:0pt; text-align:center; line-height:normal; font-size:10pt">
       <span style="color:#806000">kJ/kg-K</span>
      </p>
     </td>
    </tr>
   </table>
   <p>
    &#xa0;
   </p>
  </div>
 </body>
</html>

En teoria funciona pero me deja perplejo que me surgan esos mensajes. Alguien puede explicarme el porque.

Gracias

Postato il
2 RISPOSTE - 1 CORRETTO
Jorge M.
Jorge M.
Moderator

Hola Jerome Penarroya

Pues fácil, estás tratando de incrustar una página web completa en el objeto HTML mínimo necesitas tener algo e conocimientos para mi respuesta pero es esta: El objetoo HTML solo puede incluir lo que está dentro del las etiquetas BODY (sin incluir esas etiquetas)

Si necesitas saber más, la siguiente es una guía rápida:

Estructura básica de una página HTML

  • Cada página comienza con: < HTML > .
  • A continuación viene la cabecera, delimitada por < HEAD > y < /HEAD > .
  • Después, el comando < BODY >, que indica el comienzo del cuerpo de la página. Las instrucciones HTML se escribirán a continuación, y finalizarán con < /BODY >.
  • La página acabará con < /HTML > .

Es decir: <HTML> <HEAD> Definiciones de la cabecera </HEAD> <BODY> Instrucciones HTML </BODY> </HTML>

Entonces en resumen: en el objeto HTML solo ván las instrucciones HTML

Ya lo probé como te mencioné y si funciona, es esa tabla que adjunté.

Revisa, prueba y comenta cualquier duda.
Saludos
Jorge M.

----------------------------------------------------------------------------------------------------------

¡Cada respuesta correcta/útil cuenta! como reconocimiento a un esfuerzo, así que:

  • Si una respuesta es correcta o te ayuda dale la opción de Correcto.
  • Si una respuesta te sirve, sea o no sea tu pregunta, dale útil.
  • Si no te sirve ninguna respuesta, para ayudar a comprender mejor la pregunta trata de agregar links o capturas de Vista Previa, Rejilla de Maquetación, Navegador
  • Para las capturas: usa la opción Añadir una imagen desde su PC.
Leggi di più
Postato il da Jorge M.
Jerome P.
Jerome P.
User
Autore

Gracias, resuelto, ya no sale el error.

Saludos

Leggi di più
Postato il da Jerome P.