Ejemplo de Cómo Quitar Márgenes Con HTML

Inicio » HTML » Cómo quitar márgenes con HTML

Para quitar los márgenes en html debemos utilizar las propiedades del body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0".

Lo anterior nos presentará una página con los textos pegados hasta arriba, al lado izquiero, derecho y abajo.

Aquí la plantilla para el ejemplo de html sin márgenes.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0">
<table width="760" height="100%" border="1" cellpadding="0" cellspacing="0">
  <tr>
    <td height="64">Encabezado.jpg</td>
  </tr>
  <tr>
    <td height="100%" valign="top"><p>&nbsp;Contenido</p>
      </td>
  </tr>
  <tr>
    <td height="64">Pie de P&aacute;gina</td>
  </tr>
</table>
</body>
</html>

Citado APA: Del Moral, M. & Rodriguez, J. (s.f.). Ejemplo de Cómo Quitar Márgenes Con HTML.Ejemplo de. Recuperado el 31 de Enero de 2023 de https://www.ejemplode.com/17-html/643-ejemplo_de_como_quitar_margenes_con_html.html

Autor: Del Moral, Mauricio. & Rodriguez, Jennyfer.

Deja un comentario


Acepto la política de privacidad.