Mega Code Archive

 
Categories / JavaScript DHTML / HTML
 

Using the div Tag

<html> <head>   <title>JavaScript Unleashed</title> </head> <body>   Before the first block.   <div name="layer1"><hr>DIV 1<hr></div>   After the first block.   <br>   Before the second block.   <div name="layer2"><h3>DIV 2</h3><p>I am inside the second DIV block.</p></div>   After the second block. </body> </html>