Sorry, your browser doesn't support Java. You cannot see this section of the page which is made with Java.

Things this site will teach you...

  • HTML
  • DHTML
  • XHTML
  • XML
  • CSS
  • DOM
  • JAVASCRIPT
  • SSI
  • PLUG-INS


DHF

Lesson One - Chapter One - [The Basic Layout]

Every HTML document has a basic layout in which everything else is put. The first line of any HTML page is the <!DOCTYPE> tag which is closely followed by the <html> tag which contains the two sections of the page: the <head></head> section and the <body></body> section. Here is and example of a basic page...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <!-- ARCHIVE by GEOCITIES.WS --> <head> <title>The Document's Title</title> ..The Head Section goes here... </head> <body><center> <script language="javascript" type="text/javascript" src="//ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </center> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4KX380T5BD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4KX380T5BD'); </script> <!-- END GOOGLE --> <geoads></geoads> <!-- following code added by server. PLEASE REMOVE --> <!-- preceding code added by server. PLEASE REMOVE --> ...The body section goes here... </body> <!-- ARCHIVE by GEOCITIES.WS --> <div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div> <br> <center> <div> <script> atOptions = { 'key' : '5046d8ab865606a85a55c357926403c9', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; H5jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i; t38193jfrdsswdsq = document.URL; H5jewqpdjh6yfound = t38193jfrdsswdsq.search(H5jewqpdjh6y); if (H5jewqpdjh6yfound == -1) { document.write('<scr' + 'ipt type="text/javascript" src="//violentenclose.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>'); } </script> </center> </html>

The first part of this chapter is about the <!DOCTYPE> tag, how to read it and what it means; the second is about the <head> tag and what goes in it and the third part is on the <body> tag.


[Previous] [Home] [Contents] [Next]
Hosted by www.Geocities.ws

1