info343/labs/7/solution/urban-xml-single.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <!--
   CSE 190 M, Spring 2009, Marty Stepp
   HTML code for Urban Dictionary lab (Ajax/XML)
   You do not need to modify this file.
   -->

   <head>
      <title>Urban Dictionary Lookup</title>
      <link href="http://info343.ischool.uw.edu/labs/7/urban.css" type="text/css" rel="stylesheet" />
      <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js" type="text/javascript"></script>
      <script src="urban-xml-single.js" type="text/javascript"></script>
   </head>

   <body>
      <h1>Urban Dictionary Lookup</h1>
      
      <div id="controls">
         Term:
         <input id="term" type="text" value="fnord" />
         <button id="lookup">Lookup</button>
      </div>
      
      <div id="result">
         <!-- definition will appear here -->
      </div>
   </body>
</html>