We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

1man on 02/04/07


Tagged

DOM tutorial markup


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

simpeligent


DOM Enhance Markup


Published in: HTML 


The very basic markup for the enhancement DOM script from a tutorial.

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  7. <meta name="keywords" content="" />
  8. <meta name="description" content="" />
  9. <title>JS Testing</title>
  10.  
  11. <!-- CSS Links -->
  12.  
  13.  
  14. <!-- Scripts Here -->
  15. <script src="/js/prototype.js" type="text/javascript"></script>
  16. <script src="/js/ch8.js" type="text/javascript"></script>
  17. </head>
  18. <ul id="navigation">
  19. <li><a href="home.html" accesskey="1">Home</a></li>
  20. <li><a href="search.html" accesskey="4">Search</a></li>
  21. <li><a href="contact.html" accesskey="0">Contact</a></li>
  22. </ul>
  23.  
  24. <h1>What is the Document Object Model?</h1>
  25. <p>
  26. The <abbr title="World Wide Web Consortium">W3C</abbr> defines
  27. the <abbr title="Document Object Model">DOM</abbr> as:</p>
  28. <blockquote cite="http://www.w3.org/DOM/">
  29. <p>
  30. A platform- and language-neutral interface that will allow programs
  31. and scripts to dynamically access and update the
  32. content, structure and style of documents.
  33. </p>
  34. <p>
  35. It is an <abbr title="Application Programming Interface">API</abbr> that can be used to navigate <abbr title="HyperText Markup Language">HTML</abbr> and <abbr title="eXtensible Markup Language">XML</abbr> documents.
  36. </p>
  37. </body>
  38. </html>

Report this snippet 

You need to login to post a comment.