<div id=... class="... notag ...">
Para eliminar una etiqueta div despues de ser reemplazada debemos asignarle la clase notag en la envoltura o el contenido.
| Contenido |
Envoltura |
Resultado |
<div id=tit>
<h1>Titulo</h1>
</div>
<div id=main>
Prueba
</div>
|
<html>
<head>
</head>
<body>
<div id=tit class=notag>
</div>
<div id=main>
</div>
</body>
</html>
|
<html>
<head>
</head>
<body>
<h1>Titulo</h1>
<div id=main>
Prueba
</div>
</body>
</html>
|
| Contenido |
Envoltura |
Resultado |
<div id=tit class=notag>
<h1>Titulo</h1>
</div>
<div id=main>
Prueba
</div>
|
<html>
<head>
</head>
<body>
<div id=tit>
</div>
<div id=main>
</div>
</body>
</html>
|
<html>
<head>
</head>
<body>
<h1>Titulo</h1>
<div id=main>
Prueba
</div>
</body>
</html>
|