Here's the HTML that you give to the browser...






Here's the HTML that you give to the browser...

When you're creating a web page, you write HTML to represent the different parts of your page. Then you give that HTML to the browser, and the browser figures out how to represent that HTML on the screen. But if you want to start changing your web page using JavaScript, you need to know exactly how the browser sees your HTML.

First, let's take a look at a simple HTML document:

    <html>
     <head>
      <title>Webville Tree Farm</title>
     </head>
     <body>
    <h1>Webville Tree Farm</h1>
    <p>Welcome to the Webville Tree Farm. We're still learning
      about CSS, so pardon our plain site. We just bought
      <a href="http://www.headfirstlabs.com/books/hfhtml/">Head
      First HTML with CSS & XHTML</a>, though, so expect
      great things soon.</p>
    <p>You can visit us at the corner of Binary Blvd. and
      DOM Drive. Come check us out today!</p>
   </body>
  </html>

OK, this is HTML 101. So what in the world does any of this have to do with trees?



 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows