Location: PHPKode > scripts > Mocha > HTML.php
<?php

// HTML

// Modified: 01-Feb-2002 11:15:19
//  Version: 1.0.0
//   Author: Colin Tucker
//    Email: hide@address.com
//     Site: mocha.omenmedia.com

  // Uses

    // Collection

    require_once("Mocha/Collection.php");

  // Classes

    // General

      // Abstract

        // HTMLObject

          // {

          class HTMLObject {

            // Methods

              // draw

              function draw() {
              
              // Answers null since this object has no direct representation in HTML.
              
                 return null;
              
              }

              // render

              function render() {
              
              // Echoes the data returned from a draw() method directly to the client browser.
              
                 echo $this->draw();
              
              }

            // Construct

              // {

              function HTMLObject() {

              // }

              }

          // }

          }

        // HTMLControl

          // {

          class HTMLControl extends HTMLObject {

            // Construct

              // {

              function HTMLControl() {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // asDefault

                  HTMLControl::asDefault();

              // }

              }

            // Attributes

              // colors

              var $_colors;

              // fontSize

              var $_fontSize;

              // fontFace

              var $_fontFace;

            // Accessors

              // Setters

                // setColor

                function setColor($name=null,$color=null) {
                
                // Sets the value of a particular named color.
                
                   if (isset($name) && isset($color))
                   {
                      $this->_colors[$name] = $color;
                   }
                   return $this;
                
                }

                // setColors

                function setColors($colors=null) {
                
                // Sets the value of the colors attribute.
                
                   if (isset($colors))
                   {
                      $this->_colors = $colors;
                   }
                   return $this;
                
                }

                // setFontSize

                function setFontSize($fontSize=null) {
                
                // Sets the value of the fontSize attribute.
                
                   if (isset($fontSize))
                   {
                      $this->_fontSize = $fontSize;
                   }
                   return $this;
                
                }

                // setFontFace

                function setFontFace($fontFace=null) {
                
                // Sets the value of the fontFace attribute.
                
                   if (isset($fontFace))
                   {
                      $this->_fontFace = $fontFace;
                   }
                   return $this;
                
                }

              // Getters

                // getColor

                function getColor($name=null) {
                
                // Returns the value of a particular named color.
                
                   return $this->_colors[$name];
                
                }

                // getColors

                function getColors() {
                
                // Returns the value of the colors attribute.
                
                   return $this->_colors;
                
                }

                // getFontSize

                function getFontSize() {
                
                // Returns the value of the fontSize attribute.
                
                   return $this->_fontSize;
                
                }

                // getFontFace

                function getFontFace() {
                
                // Returns the value of the fontFace attribute.
                
                   return $this->_fontFace;
                
                }

                // getFontSizePt

                function getFontSizePt() {
                
                // Returns the value of the fontSize attribute as a point value.
                
                   $points = array(1=>7.5,2=>10,3=>12,4=>13.5,5=>18,6=>24,7=>36);
                
                   return $points[$this->_fontSize];
                
                }

              // Unsetters

                // unsetColor

                function unsetColor($name=null) {
                
                // Clears the value of a particular named color.
                
                   unset($this->_color[$name]); return $this;
                
                }

                // unsetColors

                function unsetColors() {
                
                // Clears the value of the colors attribute.
                
                   unset($this->_colors); return $this;
                
                }

                // unsetFontSize

                function unsetFontSize() {
                
                // Clears the value of the fontSize attribute.
                
                   unset($this->_fontSize); return $this;
                
                }

                // unsetFontFace

                function unsetFontFace() {
                
                // Clears the value of the fontFace attribute.
                
                   unset($this->_fontFace); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLControl object.
              
              // Define:
              
                 $this->setFontSize(2);
                 $this->setColors(array());
                 $this->setFontFace('Verdana,Arial,Helvetica');
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

      // Instantiable

        // HTMLContainer

          // {

          class HTMLContainer extends HTMLObject {

            // Methods

              // Elements

                // addElement

                function addElement($element=null) {
                
                // Adds the given element object to the elements Collection.
                
                   if (isset($element))
                   {
                      $this->_elements->add((is_object($element) ? $element : new HTMLString($element)));
                   }
                   return $this;
                
                }

              // Rendering

                // draw

                function draw() {
                
                // Renders the HTMLContainer object and the elements contained within.
                
                   $elements = $this->_elements->enumerator();
                
                   while ($elements->more())
                   {
                      $element = $elements->next();
                
                      $html .= $element->draw();
                   }
                
                   return $html;
                
                }

            // Construct

              // {

              function HTMLContainer() {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // asDefault

                  HTMLContainer::asDefault();

              // }

              }

            // Attributes

              // elements

              var $_elements;

            // Accessors

              // Setters

                // setElements

                function setElements($elements=null) {
                
                // Sets the value of the elements attribute.
                
                   if (isset($elements))
                   {
                      $this->_elements = $elements;
                   }
                   return $this;
                
                }

              // Getters

                // getElements

                function getElements() {
                
                // Returns the value of the elements attribute.
                
                   return $this->_elements;
                
                }

              // Unsetters

                // unsetElements

                function unsetElements() {
                
                // Clears the value of the elements attribute.
                
                   unset($this->_elements); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLContainer object.
              
              // Define:
              
                 $this->setElements(new Collection());
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLDocument

          // {

          class HTMLDocument extends HTMLObject {

            // Methods

              // Rendering

                // draw

                function draw() {
                
                // Returns the HTML representing the HTMLDocument object.
                
                   return "<html>".$this->drawHead().$this->drawBody()."</html>";
                
                }

                // drawBody

                function drawBody() {
                
                // Renders the body portion of the document.
                
                   return (is_object($this->_body) ? $this->_body->draw() : null);
                
                }

                // drawHead

                function drawHead() {
                
                // Renders the head portion of the document.
                
                   return (is_object($this->_head) ? $this->_head->draw() : null);
                
                }

            // Construct

              // {

              function HTMLDocument($title=null) {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // asDefault

                  HTMLDocument::asDefault();

                    // fromArguments

                    HTMLDocument::fromArguments($title);

              // }

              }

            // Attributes

              // body

              var $_body;

              // head

              var $_head;

            // Accessors

              // Setters

                // setBody

                function setBody($body=null) {
                
                // Sets the value of the body attribute.
                
                   if (isset($body))
                   {
                      $this->_body = $body;
                   }
                   return $this;
                
                }

                // setHead

                function setHead($head=null) {
                
                // Sets the value of the head attribute.
                
                   if (isset($head))
                   {
                      $this->_head = $head;
                   }
                   return $this;
                
                }

              // Getters

                // getBody

                function &getBody() {
                
                // Returns the value of the body attribute.
                
                   return $this->_body;
                
                }

                // getHead

                function &getHead() {
                
                // Returns the value of the head attribute.
                
                   return $this->_head;
                
                }

              // Unsetters

                // unsetBody

                function unsetBody() {
                
                // Clears the value of the body attribute.
                
                   unset($this->_body); return $this;
                
                }

                // unsetHead

                function unsetHead() {
                
                // Clears the value of the head attribute.
                
                   unset($this->_head); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLDocument object.
              
              // Define:
              
                 $this->setBody(new HTMLBodyElement());
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($title=null) {
              
              // Defines the HTMLDocument object from the given arguments.
              
              // Define:
              
                 $this->setHead(new HTMLHeadElement($title));
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLEntity

          // {

          class HTMLEntity extends HTMLObject {

            // Methods

              // draw

              function draw() {
              
              // Returns the HTML representing the HTMLEntity object.
              
                 return (isset($this->_code) ? "&".$this->_code.";" : null);
              
              }

            // Construct

              // {

              function HTMLEntity($code=null) {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // fromArguments

                  HTMLEntity::fromArguments($code);

              // }

              }

            // Attributes

              // code

              var $_code;

            // Accessors

              // Setters

                // setCode

                function setCode($code=null) {
                
                // Sets the value of the code attribute.
                
                   if (isset($code))
                   {
                      $this->_code = $code;
                   }
                   return $this;
                
                }

              // Getters

                // getCode

                function getCode() {
                
                // Returns the value of the code attribute.
                
                   return $this->_code;
                
                }

              // Unsetters

                // unsetCode

                function unsetCode() {
                
                // Clears the value of the code attribute.
                
                   unset($this->_code); return $this;
                
                }

            // Definitions

              // fromArguments

              function fromArguments($code=null) {
              
              // Defines the HTMLEntity object from the given arguments.
              
              // Define:
              
                 $this->setCode($code);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLString

          // {

          class HTMLString extends HTMLObject {

            // Methods

              // draw

              function draw() {
              
              // Renders the HTMLString text.
              
                 return (isset($this->_text) ? ($this->_escape ? htmlentities($this->_text) : $this->_text) : null);
              
              }

            // Construct

              // {

              function HTMLString($text=null) {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // fromArguments

                  HTMLString::fromArguments($text);

              // }

              }

            // Attributes

              // text

              var $_text;

              // escape

              var $_escape;

            // Accessors

              // Setters

                // setText

                function setText($text=null) {
                
                // Sets the value of the text attribute.
                
                   if (isset($text))
                   {
                      $this->_text = $text;
                   }
                   return $this;
                
                }

                // setEscape

                function setEscape($escape=null) {
                
                // Sets the value of the escape attribute.
                
                   if (isset($escape))
                   {
                      $this->_escape = $escape;
                   }
                   return $this;
                
                }

              // Getters

                // getText

                function getText() {
                
                // Returns the value of the text attribute.
                
                   return $this->_text;
                
                }

                // getEscape

                function getEscape() {
                
                // Returns the value of the escape attribute.
                
                   return $this->_escape;
                
                }

              // Unsetters

                // unsetText

                function unsetText() {
                
                // Clears the value of the text attribute.
                
                   unset($this->_text); return $this;
                
                }

                // unsetEscape

                function unsetEscape() {
                
                // Clears the value of the escape attribute.
                
                   unset($this->_escape); return $this;
                
                }

            // Definitions

              // fromArguments

              function fromArguments($text=null) {
              
              // Defines the HTMLString object from the given arguments.
              
              // Define:
              
                 $this->setText($text);
                 $this->setEscape(true);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

    // Elements

      // Abstract

        // HTMLElement

          // {

          class HTMLElement extends HTMLObject {

            // Methods

              // Events

                // addEvent

                function addEvent($event=null,$handler=null) {
                
                // Adds a record of a certain event to the events array.
                
                   if (isset($event) && isset($handler))
                   {
                      $this->_events[$event] = $handler;
                   }
                   return $this;
                
                }

              // Booleans

                // addBoolean

                function addBoolean($codeName=null,$htmlName=null) {
                
                // Adds a record of a certain boolean to the booleans array.
                
                   if (isset($codeName))
                   {
                      $this->_booleans[$codeName] = (isset($htmlName) ? $htmlName : strtolower($codeName));
                   }
                   return $this;
                
                }

              // Properties

                // addProperty

                function addProperty($codeName=null,$htmlName=null) {
                
                // Adds a record of a certain property to the properties array.
                
                   if (isset($codeName))
                   {
                      $this->_properties[$codeName] = (isset($htmlName) ? $htmlName : strtolower($codeName));
                   }
                   return $this;
                
                }

              // Rendering

                // draw

                function draw() {
                
                // Returns the HTML representing the HTMLElement.
                
                   return $this->drawStart();
                
                }

                // drawEnd

                function drawEnd() {
                
                // Renders the end of the HTMLElement.
                
                   return (isset($this->_tag) ? "</".$this->_tag.">" : null);
                
                }

                // drawStart

                function drawStart() {
                
                // Renders the start of the HTMLElement.
                
                   return (isset($this->_tag) ? "<".$this->getTag().
                                                    $this->drawEvents().
                                                    $this->drawBooleans().
                                                    $this->drawProperties().">" : null);
                
                }

                // drawEvents

                function drawEvents() {
                
                // Renders the events portion of the HTMLElement.
                
                   foreach ($this->_events as $event=>$handler)
                   {
                      $html .= " $event=\"$handler\"";
                   }
                
                   return $html;
                
                }

                // drawBooleans

                function drawBooleans() {
                
                // Renders the booleans portion of the HTMLElement.
                
                   foreach ($this->_booleans as $codeName=>$htmlName)
                   {
                      $codeName = "_$codeName";
                
                      if ($this->$codeName)
                      {
                         $html .= " $htmlName";
                      }
                   }
                
                   return $html;
                
                }

                // drawProperties

                function drawProperties() {
                
                // Renders the properties portion of the HTMLElement.
                
                   foreach ($this->_properties as $codeName=>$htmlName)
                   {
                      $codeName = "_$codeName";
                
                      if (isset($this->$codeName))
                      {
                         $html .= " $htmlName=\"{$this->$codeName}\"";
                      }
                   }
                
                   return $html;
                
                }

            // Construct

              // {

              function HTMLElement() {

                // Parent

                  // HTMLObject

                  $this->HTMLObject();

                // Object

                  // asDefault

                  HTMLElement::asDefault();

                    // hasProperties

                    HTMLElement::hasProperties();

              // }

              }

            // Attributes

              // id

              var $_id;

              // tag

              var $_tag;

              // title

              var $_title;

              // style

              var $_style;

              // events

              var $_events;

              // booleans

              var $_booleans;

              // properties

              var $_properties;

              // className

              var $_className;

            // Accessors

              // Setters

                // setId

                function setId($id=null) {
                
                // Sets the value of the id attribute.
                
                   if (isset($id))
                   {
                      $this->_id = $id;
                   }
                   return $this;
                
                }

                // setTag

                function setTag($tag=null) {
                
                // Sets the value of the tag attribute.
                
                   if (isset($tag))
                   {
                      $this->_tag = $tag;
                   }
                   return $this;
                
                }

                // setTitle

                function setTitle($title=null) {
                
                // Sets the value of the title attribute.
                
                   if (isset($title))
                   {
                      $this->_title = $title;
                   }
                   return $this;
                
                }

                // setStyle

                function setStyle($style=null) {
                
                // Sets the value of the style attribute.
                
                   if (isset($style))
                   {
                      $this->_style = $style;
                   }
                   return $this;
                
                }

                // setEvents

                function setEvents($events=null) {
                
                // Sets the value of the events attribute.
                
                   if (isset($events))
                   {
                      $this->_events = $events;
                   }
                   return $this;
                
                }

                // setBooleans

                function setBooleans($booleans=null) {
                
                // Sets the value of the booleans attribute.
                
                   if (isset($booleans))
                   {
                      $this->_booleans = $booleans;
                   }
                   return $this;
                
                }

                // setProperties

                function setProperties($properties=null) {
                
                // Sets the value of the properties attribute.
                
                   if (isset($properties))
                   {
                      $this->_properties = $properties;
                   }
                   return $this;
                
                }

                // setClassName

                function setClassName($className=null) {
                
                // Sets the value of the className attribute.
                
                   if (isset($className))
                   {
                      $this->_className = $className;
                   }
                   return $this;
                
                }

              // Getters

                // getId

                function getId() {
                
                // Returns the value of the id attribute.
                
                   return $this->_id;
                
                }

                // getTag

                function getTag() {
                
                // Returns the value of the tag attribute.
                
                   return $this->_tag;
                
                }

                // getTitle

                function getTitle() {
                
                // Returns the value of the title attribute.
                
                   return $this->_title;
                
                }

                // getStyle

                function getStyle() {
                
                // Returns the value of the style attribute.
                
                   return $this->_style;
                
                }

                // getEvents

                function getEvents() {
                
                // Returns the value of the events attribute.
                
                   return $this->_events;
                
                }

                // getBooleans

                function getBooleans() {
                
                // Returns the value of the booleans attribute.
                
                   return $this->_booleans;
                
                }

                // getProperties

                function getProperties() {
                
                // Returns the value of the properties attribute.
                
                   return $this->_properties;
                
                }

                // getClassName

                function getClassName() {
                
                // Returns the value of the className attribute.
                
                   return $this->_className;
                
                }

              // Unsetters

                // unsetId

                function unsetId() {
                
                // Clears the value of the id attribute.
                
                   unset($this->_id); return $this;
                
                }

                // unsetTag

                function unsetTag() {
                
                // Clears the value of the tag attribute.
                
                   unset($this->_tag); return $this;
                
                }

                // unsetTitle

                function unsetTitle() {
                
                // Clears the value of the title attribute.
                
                   unset($this->_title); return $this;
                
                }

                // unsetStyle

                function unsetStyle() {
                
                // Clears the value of the style attribute.
                
                   unset($this->_style); return $this;
                
                }

                // unsetEvents

                function unsetEvents() {
                
                // Clears the value of the events attribute.
                
                   unset($this->_events); return $this;
                
                }

                // unsetBooleans

                function unsetBooleans() {
                
                // Clears the value of the booleans attribute.
                
                   unset($this->_booleans); return $this;
                
                }

                // unsetProperties

                function unsetProperties() {
                
                // Clears the value of the properties attribute.
                
                   unset($this->_properties); return $this;
                
                }

                // unsetClassName

                function unsetClassName() {
                
                // Clears the value of the className attribute.
                
                   unset($this->_className); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLElement object.
              
              // Define:
              
                 $this->setEvents(array());
                 $this->setBooleans(array());
                 $this->setProperties(array());
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLElement object.
              
              // Define:
              
                 $this->addProperty('id');
                 $this->addProperty('title');
                 $this->addProperty('style');
                 $this->addProperty('className','class');
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLSingularElement

          // {

          class HTMLSingularElement extends HTMLElement {

            // Methods

              // Rendering

                // draw

                function draw() {
                
                // Returns the HTML representing the HTMLSingularElement.
                
                   return (isset($this->_tag) ? $this->drawStart().$this->drawElement().$this->drawEnd() : null);
                
                }

                // drawElement

                function drawElement() {
                
                // Renders the child element of the HTMLSingularElement.
                
                   return (is_object($this->_element) ? $this->_element->draw() : null);
                
                }

            // Construct

              // {

              function HTMLSingularElement() {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLSingularElement::asDefault();

              // }

              }

            // Attributes

              // element

              var $_element;

            // Accessors

              // Setters

                // setElement

                function setElement($element=null) {
                
                // Sets the value of the element attribute.
                
                   if (isset($element))
                   {
                      $this->_element = (is_object($element) ? $element : new HTMLString($element));
                   }
                   return $this;
                
                }

              // Getters

                // getElement

                function getElement() {
                
                // Returns the value of the element attribute.
                
                   return $this->_element;
                
                }

              // Unsetters

                // unsetElement

                function unsetElement() {
                
                // Clears the value of the element attribute.
                
                   unset($this->_element); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLSingularElement object.
              
              // Define:
              
                 //$this->setElement(new HTMLString());
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLContainerElement

          // {

          class HTMLContainerElement extends HTMLElement {

            // Methods

              // Elements

                // addElement

                function addElement($element=null) {
                
                // Adds the given element object to the container.
                
                   if (isset($element))
                   {
                      $this->_container->addElement($element);
                   }
                   return $this;
                
                }

              // Rendering

                // draw

                function draw() {
                
                // Returns the HTML representing the HTMLContainerElement.
                
                   return (isset($this->_tag) ? $this->drawStart().$this->_container->draw().$this->drawEnd() : null);
                
                }

            // Construct

              // {

              function HTMLContainerElement() {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLContainerElement::asDefault();

              // }

              }

            // Attributes

              // container

              var $_container;

            // Accessors

              // Setters

                // setContainer

                function setContainer($container=null) {
                
                // Sets the value of the container attribute.
                
                   if (isset($container))
                   {
                      $this->_container = $container;
                   }
                   return $this;
                
                }

              // Getters

                // getContainer

                function getContainer() {
                
                // Returns the value of the container attribute.
                
                   return $this->_container;
                
                }

              // Unsetters

                // unsetContainer

                function unsetContainer() {
                
                // Clears the value of the container attribute.
                
                   unset($this->_container); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLContainerElement object.
              
              // Define:
              
                 $this->setContainer(new HTMLContainer());
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

      // Instantiable

        // HTMLAnchorElement

          // {

          class HTMLAnchorElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLAnchorElement($name=null,$element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLAnchorElement::asDefault();

                    // hasProperties

                    HTMLAnchorElement::hasProperties();

                      // fromArguments

                      HTMLAnchorElement::fromArguments($name,$element);

              // }

              }

            // Attributes

              // href

              var $_href;

              // name

              var $_name;

              // target

              var $_target;

            // Accessors

              // Setters

                // setHref

                function setHref($href=null) {
                
                // Sets the value of the href attribute.
                
                   if (isset($href))
                   {
                      $this->_href = $href;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setTarget

                function setTarget($target=null) {
                
                // Sets the value of the target attribute.
                
                   if (isset($target))
                   {
                      $this->_target = $target;
                   }
                   return $this;
                
                }

              // Getters

                // getHref

                function getHref() {
                
                // Returns the value of the href attribute.
                
                   return $this->_href;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getTarget

                function getTarget() {
                
                // Returns the value of the target attribute.
                
                   return $this->_target;
                
                }

              // Unsetters

                // unsetHref

                function unsetHref() {
                
                // Clears the value of the href attribute.
                
                   unset($this->_href); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetTarget

                function unsetTarget() {
                
                // Clears the value of the target attribute.
                
                   unset($this->_target); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLAnchorElement object.
              
              // Define:
              
                 $this->setTag('a');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLAnchorElement object.
              
              // Define:
              
                 $this->addProperty('href');
                 $this->addProperty('name');
                 $this->addProperty('target');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$element=null) {
              
              // Defines the HTMLAnchorElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLAppletElement

          // {

          class HTMLAppletElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLAppletElement($code=null,$name=null,$width=null,$height=null,$align=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLAppletElement::asDefault();

                    // hasProperties

                    HTMLAppletElement::hasProperties();

                      // fromArguments

                      HTMLAppletElement::fromArguments($code,$name,$width,$height,$align);

              // }

              }

            // Attributes

              // alt

              var $_alt;

              // code

              var $_code;

              // align

              var $_align;

              // width

              var $_width;

              // name

              var $_name;

              // height

              var $_height;

              // hSpace

              var $_hSpace;

              // vSpace

              var $_vSpace;

              // codeBase

              var $_codeBase;

            // Accessors

              // Setters

                // setAlt

                function setAlt($alt=null) {
                
                // Sets the value of the alt attribute.
                
                   if (isset($alt))
                   {
                      $this->_alt = $alt;
                   }
                   return $this;
                
                }

                // setCode

                function setCode($code=null) {
                
                // Sets the value of the code attribute.
                
                   if (isset($code))
                   {
                      $this->_code = $code;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setHSpace

                function setHSpace($hSpace=null) {
                
                // Sets the value of the hSpace attribute.
                
                   if (isset($hSpace))
                   {
                      $this->_hSpace = $hSpace;
                   }
                   return $this;
                
                }

                // setVSpace

                function setVSpace($vSpace=null) {
                
                // Sets the value of the vSpace attribute.
                
                   if (isset($vSpace))
                   {
                      $this->_vSpace = $vSpace;
                   }
                   return $this;
                
                }

                // setCodeBase

                function setCodeBase($codeBase=null) {
                
                // Sets the value of the codeBase attribute.
                
                   if (isset($codeBase))
                   {
                      $this->_codeBase = $codeBase;
                   }
                   return $this;
                
                }

              // Getters

                // getAlt

                function getAlt() {
                
                // Returns the value of the alt attribute.
                
                   return $this->_alt;
                
                }

                // getCode

                function getCode() {
                
                // Returns the value of the code attribute.
                
                   return $this->_code;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getHSpace

                function getHSpace() {
                
                // Returns the value of the hSpace attribute.
                
                   return $this->_hSpace;
                
                }

                // getVSpace

                function getVSpace() {
                
                // Returns the value of the vSpace attribute.
                
                   return $this->_vSpace;
                
                }

                // getCodeBase

                function getCodeBase() {
                
                // Returns the value of the codeBase attribute.
                
                   return $this->_codeBase;
                
                }

              // Unsetters

                // unsetAlt

                function unsetAlt() {
                
                // Clears the value of the alt attribute.
                
                   unset($this->_alt); return $this;
                
                }

                // unsetCode

                function unsetCode() {
                
                // Clears the value of the code attribute.
                
                   unset($this->_code); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetHSpace

                function unsetHSpace() {
                
                // Clears the value of the hSpace attribute.
                
                   unset($this->_hSpace); return $this;
                
                }

                // unsetVSpace

                function unsetVSpace() {
                
                // Clears the value of the vSpace attribute.
                
                   unset($this->_vSpace); return $this;
                
                }

                // unsetCodeBase

                function unsetCodeBase() {
                
                // Clears the value of the codeBase attribute.
                
                   unset($this->_codeBase); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLAppletElement object.
              
              // Define:
              
                 $this->setTag('applet');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLAppletElement object.
              
              // Define:
              
                 $this->addProperty('alt');
                 $this->addProperty('code');
                 $this->addProperty('name');
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('hSpace');
                 $this->addProperty('vSpace');
                 $this->addProperty('codeBase');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($code=null,$name=null,$width=null,$height=null,$align=null) {
              
              // Defines the HTMLAppletElement object from the given arguments.
              
              // Define:
              
                 $this->setCode($code);
                 $this->setName($name);
                 $this->setAlign($align);
                 $this->setWidth($width);
                 $this->setHeight($height);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLAreaElement

          // {

          class HTMLAreaElement extends HTMLElement {

            // Construct

              // {

              function HTMLAreaElement($shape=null,$coords=null,$href=null,$target=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLAreaElement::asDefault();

                    // hasBooleans

                    HTMLAreaElement::hasBooleans();

                      // hasProperties

                      HTMLAreaElement::hasProperties();

                        // fromArguments

                        HTMLAreaElement::fromArguments($shape,$coords,$href,$target);

              // }

              }

            // Attributes

              // alt

              var $_alt;

              // href

              var $_href;

              // shape

              var $_shape;

              // target

              var $_target;

              // coords

              var $_coords;

              // noHref

              var $_noHref;

            // Accessors

              // Setters

                // setAlt

                function setAlt($alt=null) {
                
                // Sets the value of the alt attribute.
                
                   if (isset($alt))
                   {
                      $this->_alt = $alt;
                   }
                   return $this;
                
                }

                // setHref

                function setHref($href=null) {
                
                // Sets the value of the href attribute.
                
                   if (isset($href))
                   {
                      $this->_href = $href;
                   }
                   return $this;
                
                }

                // setShape

                function setShape($shape=null) {
                
                // Sets the value of the shape attribute.
                
                   if (isset($shape))
                   {
                      $this->_shape = $shape;
                   }
                   return $this;
                
                }

                // setTarget

                function setTarget($target=null) {
                
                // Sets the value of the target attribute.
                
                   if (isset($target))
                   {
                      $this->_target = $target;
                   }
                   return $this;
                
                }

                // setCoords

                function setCoords($coords=null) {
                
                // Sets the value of the coords attribute.
                
                   if (isset($coords))
                   {
                      $this->_coords = $coords;
                   }
                   return $this;
                
                }

                // setNoHref

                function setNoHref($noHref=null) {
                
                // Sets the value of the noHref attribute.
                
                   if (isset($noHref))
                   {
                      $this->_noHref = $noHref;
                   }
                   return $this;
                
                }

              // Getters

                // getAlt

                function getAlt() {
                
                // Returns the value of the alt attribute.
                
                   return $this->_alt;
                
                }

                // getHref

                function getHref() {
                
                // Returns the value of the href attribute.
                
                   return $this->_href;
                
                }

                // getShape

                function getShape() {
                
                // Returns the value of the shape attribute.
                
                   return $this->_shape;
                
                }

                // getTarget

                function getTarget() {
                
                // Returns the value of the target attribute.
                
                   return $this->_target;
                
                }

                // getCoords

                function getCoords() {
                
                // Returns the value of the coords attribute.
                
                   return $this->_coords;
                
                }

                // getNoHref

                function getNoHref() {
                
                // Returns the value of the noHref attribute.
                
                   return $this->_noHref;
                
                }

              // Unsetters

                // unsetAlt

                function unsetAlt() {
                
                // Clears the value of the alt attribute.
                
                   unset($this->_alt); return $this;
                
                }

                // unsetHref

                function unsetHref() {
                
                // Clears the value of the href attribute.
                
                   unset($this->_href); return $this;
                
                }

                // unsetShape

                function unsetShape() {
                
                // Clears the value of the shape attribute.
                
                   unset($this->_shape); return $this;
                
                }

                // unsetTarget

                function unsetTarget() {
                
                // Clears the value of the target attribute.
                
                   unset($this->_target); return $this;
                
                }

                // unsetCoords

                function unsetCoords() {
                
                // Clears the value of the coords attribute.
                
                   unset($this->_coords); return $this;
                
                }

                // unsetNoHref

                function unsetNoHref() {
                
                // Clears the value of the noHref attribute.
                
                   unset($this->_noHref); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLAreaElement object.
              
              // Define:
              
                 $this->setTag('area');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLAreaElement object.
              
              // Define:
              
                 $this->addBoolean('noHref');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLAreaElement object.
              
              // Define:
              
                 $this->addProperty('alt');
                 $this->addProperty('href');
                 $this->addProperty('shape');
                 $this->addProperty('coords');
                 $this->addProperty('target');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($shape=null,$coords=null,$href=null,$target=null) {
              
              // Defines the HTMLAreaElement object from the given arguments.
              
              // Define:
              
                 $this->setHref($href);
                 $this->setShape($shape);
                 $this->setCoords($coords);
                 $this->setTarget($target);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBaseElement

          // {

          class HTMLBaseElement extends HTMLElement {

            // Construct

              // {

              function HTMLBaseElement($href=null,$target=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLBaseElement::asDefault();

                    // hasProperties

                    HTMLBaseElement::hasProperties();

                      // fromArguments

                      HTMLBaseElement::fromArguments($href,$target);

              // }

              }

            // Attributes

              // href

              var $_href;

              // target

              var $_target;

            // Accessors

              // Setters

                // setHref

                function setHref($href=null) {
                
                // Sets the value of the href attribute.
                
                   if (isset($href))
                   {
                      $this->_href = $href;
                   }
                   return $this;
                
                }

                // setTarget

                function setTarget($target=null) {
                
                // Sets the value of the target attribute.
                
                   if (isset($target))
                   {
                      $this->_target = $target;
                   }
                   return $this;
                
                }

              // Getters

                // getHref

                function getHref() {
                
                // Returns the value of the href attribute.
                
                   return $this->_href;
                
                }

                // getTarget

                function getTarget() {
                
                // Returns the value of the target attribute.
                
                   return $this->_target;
                
                }

              // Unsetters

                // unsetHref

                function unsetHref() {
                
                // Clears the value of the href attribute.
                
                   unset($this->_href); return $this;
                
                }

                // unsetTarget

                function unsetTarget() {
                
                // Clears the value of the target attribute.
                
                   unset($this->_target); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBaseElement object.
              
              // Define:
              
                 $this->setTag('base');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLBaseElement object.
              
              // Define:
              
                 $this->addProperty('href');
                 $this->addProperty('target');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($href=null,$target=null) {
              
              // Defines the HTMLBaseElement object from the given arguments.
              
              // Define:
              
                 $this->setHref($href);
                 $this->setTarget($target);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBaseFontElement

          // {

          class HTMLBaseFontElement extends HTMLElement {

            // Construct

              // {

              function HTMLBaseFontElement($face=null,$size=null,$color=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLBaseFontElement::asDefault();

                    // hasProperties

                    HTMLBaseFontElement::hasProperties();

                      // fromArguments

                      HTMLBaseFontElement::fromArguments($face,$size,$color);

              // }

              }

            // Attributes

              // size

              var $_size;

              // face

              var $_face;

              // color

              var $_color;

            // Accessors

              // Setters

                // setSize

                function setSize($size=null) {
                
                // Sets the value of the size attribute.
                
                   if (isset($size))
                   {
                      $this->_size = $size;
                   }
                   return $this;
                
                }

                // setFace

                function setFace($face=null) {
                
                // Sets the value of the face attribute.
                
                   if (isset($face))
                   {
                      $this->_face = $face;
                   }
                   return $this;
                
                }

                // setColor

                function setColor($color=null) {
                
                // Sets the value of the color attribute.
                
                   if (isset($color))
                   {
                      $this->_color = $color;
                   }
                   return $this;
                
                }

              // Getters

                // getSize

                function getSize() {
                
                // Returns the value of the size attribute.
                
                   return $this->_size;
                
                }

                // getFace

                function getFace() {
                
                // Returns the value of the face attribute.
                
                   return $this->_face;
                
                }

                // getColor

                function getColor() {
                
                // Returns the value of the color attribute.
                
                   return $this->_color;
                
                }

              // Unsetters

                // unsetSize

                function unsetSize() {
                
                // Clears the value of the size attribute.
                
                   unset($this->_size); return $this;
                
                }

                // unsetFace

                function unsetFace() {
                
                // Clears the value of the face attribute.
                
                   unset($this->_face); return $this;
                
                }

                // unsetColor

                function unsetColor() {
                
                // Clears the value of the color attribute.
                
                   unset($this->_color); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBaseFontElement object.
              
              // Define:
              
                 $this->setTag('basefont');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLBaseFontElement object.
              
              // Define:
              
                 $this->addProperty('face');
                 $this->addProperty('size');
                 $this->addProperty('color');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($face=null,$size=null,$color=null) {
              
              // Defines the HTMLBaseFontElement object from the given arguments.
              
              // Define:
              
                 $this->setFace($face);
                 $this->setSize($size);
                 $this->setColor($color);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBlockQuoteElement

          // {

          class HTMLBlockQuoteElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLBlockQuoteElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLBlockQuoteElement::asDefault();

                    // fromArguments

                    HTMLBlockQuoteElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBlockQuoteElement object.
              
              // Define:
              
                 $this->setTag('blockquote');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLBlockQuoteElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBodyElement

          // {

          class HTMLBodyElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLBodyElement($bgColor=null,$link=null,$aLink=null,$vLink=null,$text=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLBodyElement::asDefault();

                    // hasProperties

                    HTMLBodyElement::hasProperties();

                      // fromArguments

                      HTMLBodyElement::fromArguments($bgColor,$link,$aLink,$vLink,$text);

              // }

              }

            // Attributes

              // link

              var $_link;

              // text

              var $_text;

              // vLink

              var $_vLink;

              // aLink

              var $_aLink;

              // bgColor

              var $_bgColor;

              // topMargin

              var $_topMargin;

              // leftMargin

              var $_leftMargin;

              // background

              var $_background;

              // marginWidth

              var $_marginWidth;

              // marginHeight

              var $_marginHeight;

            // Accessors

              // Setters

                // setLink

                function setLink($link=null) {
                
                // Sets the value of the link attribute.
                
                   if (isset($link))
                   {
                      $this->_link = $link;
                   }
                   return $this;
                
                }

                // setText

                function setText($text=null) {
                
                // Sets the value of the text attribute.
                
                   if (isset($text))
                   {
                      $this->_text = $text;
                   }
                   return $this;
                
                }

                // setVLink

                function setVLink($vLink=null) {
                
                // Sets the value of the vLink attribute.
                
                   if (isset($vLink))
                   {
                      $this->_vLink = $vLink;
                   }
                   return $this;
                
                }

                // setALink

                function setALink($aLink=null) {
                
                // Sets the value of the aLink attribute.
                
                   if (isset($aLink))
                   {
                      $this->_aLink = $aLink;
                   }
                   return $this;
                
                }

                // setBgColor

                function setBgColor($bgColor=null) {
                
                // Sets the value of the bgColor attribute.
                
                   if (isset($bgColor))
                   {
                      $this->_bgColor = $bgColor;
                   }
                   return $this;
                
                }

                // setTopMargin

                function setTopMargin($topMargin=null) {
                
                // Sets the value of the topMargin attribute.
                
                   if (isset($topMargin))
                   {
                      $this->_topMargin = $topMargin;
                   }
                   return $this;
                
                }

                // setLeftMargin

                function setLeftMargin($leftMargin=null) {
                
                // Sets the value of the leftMargin attribute.
                
                   if (isset($leftMargin))
                   {
                      $this->_leftMargin = $leftMargin;
                   }
                   return $this;
                
                }

                // setBackground

                function setBackground($background=null) {
                
                // Sets the value of the background attribute.
                
                   if (isset($background))
                   {
                      $this->_background = $background;
                   }
                   return $this;
                
                }

                // setMarginWidth

                function setMarginWidth($marginWidth=null) {
                
                // Sets the value of the marginWidth attribute.
                
                   if (isset($marginWidth))
                   {
                      $this->_marginWidth = $marginWidth;
                   }
                   return $this;
                
                }

                // setMarginHeight

                function setMarginHeight($marginHeight=null) {
                
                // Sets the value of the marginHeight attribute.
                
                   if (isset($marginHeight))
                   {
                      $this->_marginHeight = $marginHeight;
                   }
                   return $this;
                
                }

              // Getters

                // getLink

                function getLink() {
                
                // Returns the value of the link attribute.
                
                   return $this->_link;
                
                }

                // getText

                function getText() {
                
                // Returns the value of the text attribute.
                
                   return $this->_text;
                
                }

                // getVLink

                function getVLink() {
                
                // Returns the value of the vLink attribute.
                
                   return $this->_vLink;
                
                }

                // getALink

                function getALink() {
                
                // Returns the value of the aLink attribute.
                
                   return $this->_aLink;
                
                }

                // getBgColor

                function getBgColor() {
                
                // Returns the value of the bgColor attribute.
                
                   return $this->_bgColor;
                
                }

                // getTopMargin

                function getTopMargin() {
                
                // Returns the value of the topMargin attribute.
                
                   return $this->_topMargin;
                
                }

                // getLeftMargin

                function getLeftMargin() {
                
                // Returns the value of the leftMargin attribute.
                
                   return $this->_leftMargin;
                
                }

                // getBackground

                function getBackground() {
                
                // Returns the value of the background attribute.
                
                   return $this->_background;
                
                }

                // getMarginWidth

                function getMarginWidth() {
                
                // Returns the value of the marginWidth attribute.
                
                   return $this->_marginWidth;
                
                }

                // getMarginHeight

                function getMarginHeight() {
                
                // Returns the value of the marginHeight attribute.
                
                   return $this->_marginHeight;
                
                }

              // Unsetters

                // unsetLink

                function unsetLink() {
                
                // Clears the value of the link attribute.
                
                   unset($this->_link); return $this;
                
                }

                // unsetText

                function unsetText() {
                
                // Clears the value of the text attribute.
                
                   unset($this->_text); return $this;
                
                }

                // unsetVLink

                function unsetVLink() {
                
                // Clears the value of the vLink attribute.
                
                   unset($this->_vLink); return $this;
                
                }

                // unsetALink

                function unsetALink() {
                
                // Clears the value of the aLink attribute.
                
                   unset($this->_aLink); return $this;
                
                }

                // unsetBgColor

                function unsetBgColor() {
                
                // Clears the value of the bgColor attribute.
                
                   unset($this->_bgColor); return $this;
                
                }

                // unsetTopMargin

                function unsetTopMargin() {
                
                // Clears the value of the topMargin attribute.
                
                   unset($this->_topMargin); return $this;
                
                }

                // unsetLeftMargin

                function unsetLeftMargin() {
                
                // Clears the value of the leftMargin attribute.
                
                   unset($this->_leftMargin); return $this;
                
                }

                // unsetBackground

                function unsetBackground() {
                
                // Clears the value of the background attribute.
                
                   unset($this->_background); return $this;
                
                }

                // unsetMarginWidth

                function unsetMarginWidth() {
                
                // Clears the value of the marginWidth attribute.
                
                   unset($this->_marginWidth); return $this;
                
                }

                // unsetMarginHeight

                function unsetMarginHeight() {
                
                // Clears the value of the marginHeight attribute.
                
                   unset($this->_marginHeight); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBodyElement object.
              
              // Define:
              
                 $this->setTag('body');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLBodyElement object.
              
              // Define:
              
                 $this->addProperty('link');
                 $this->addProperty('text');
                 $this->addProperty('vLink');
                 $this->addProperty('aLink');
                 $this->addProperty('bgColor');
                 $this->addProperty('topMargin');
                 $this->addProperty('leftMargin');
                 $this->addProperty('background');
                 $this->addProperty('marginWidth');
                 $this->addProperty('marginHeight');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($bgColor=null,$link=null,$aLink=null,$vLink=null,$text=null) {
              
              // Defines the HTMLBodyElement object from the given arguments.
              
              // Define:
              
                 $this->setText($text);
                 $this->setLink($link);
                 $this->setALink($aLink);
                 $this->setVLink($vLink);
                 $this->setBgColor($bgColor);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBoldElement

          // {

          class HTMLBoldElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLBoldElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLBoldElement::asDefault();

                    // fromArguments

                    HTMLBoldElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBoldElement object.
              
              // Define:
              
                 $this->setTag('b');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLBoldElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLBreakElement

          // {

          class HTMLBreakElement extends HTMLElement {

            // Construct

              // {

              function HTMLBreakElement($clear=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLBreakElement::asDefault();

                    // hasProperties

                    HTMLBreakElement::hasProperties();

                      // fromArguments

                      HTMLBreakElement::fromArguments($clear);

              // }

              }

            // Attributes

              // clear

              var $_clear;

            // Accessors

              // Setters

                // setClear

                function setClear($clear=null) {
                
                // Sets the value of the clear attribute.
                
                   if (isset($clear))
                   {
                      $this->_clear = $clear;
                   }
                   return $this;
                
                }

              // Getters

                // getClear

                function getClear() {
                
                // Returns the value of the clear attribute.
                
                   return $this->_clear;
                
                }

              // Unsetters

                // unsetClear

                function unsetClear() {
                
                // Clears the value of the clear attribute.
                
                   unset($this->_clear); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLBreakElement object.
              
              // Define:
              
                 $this->setTag('br');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLBreakElement object.
              
              // Define:
              
                 $this->addProperty('clear');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($clear=null) {
              
              // Defines the HTMLBreakElement object from the given arguments.
              
              // Define:
              
                 $this->setClear($clear);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLDivElement

          // {

          class HTMLDivElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLDivElement($align=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLDivElement::asDefault();

                    // hasProperties

                    HTMLDivElement::hasProperties();

                      // fromArguments

                      HTMLDivElement::fromArguments($align);

              // }

              }

            // Attributes

              // align

              var $_align;

            // Accessors

              // Setters

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

              // Getters

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

              // Unsetters

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLDivElement object.
              
              // Define:
              
                 $this->setTag('div');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLDivElement object.
              
              // Define:
              
                 $this->addProperty('align');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($align=null) {
              
              // Defines the HTMLDivElement object from the given arguments.
              
              // Define:
              
                 $this->setAlign($align);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLEmbedElement

          // {

          class HTMLEmbedElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLEmbedElement($src=null,$width=null,$height=null,$name=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLEmbedElement::asDefault();

                    // hasBooleans

                    HTMLEmbedElement::hasBooleans();

                      // hasProperties

                      HTMLEmbedElement::hasProperties();

                        // fromArguments

                        HTMLEmbedElement::fromArguments($src,$width,$height,$name);

              // }

              }

            // Attributes

              // alt

              var $_alt;

              // src

              var $_src;

              // align

              var $_align;

              // width

              var $_width;

              // name

              var $_name;

              // height

              var $_height;

              // hidden

              var $_hidden;

              // palette

              var $_palette;

              // hSpace

              var $_hSpace;

              // vSpace

              var $_vSpace;

            // Accessors

              // Setters

                // setAlt

                function setAlt($alt=null) {
                
                // Sets the value of the alt attribute.
                
                   if (isset($alt))
                   {
                      $this->_alt = $alt;
                   }
                   return $this;
                
                }

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setHidden

                function setHidden($hidden=null) {
                
                // Sets the value of the hidden attribute.
                
                   if (isset($hidden))
                   {
                      $this->_hidden = $hidden;
                   }
                   return $this;
                
                }

                // setPalette

                function setPalette($palette=null) {
                
                // Sets the value of the palette attribute.
                
                   if (isset($palette))
                   {
                      $this->_palette = $palette;
                   }
                   return $this;
                
                }

                // setHSpace

                function setHSpace($hSpace=null) {
                
                // Sets the value of the hSpace attribute.
                
                   if (isset($hSpace))
                   {
                      $this->_hSpace = $hSpace;
                   }
                   return $this;
                
                }

                // setVSpace

                function setVSpace($vSpace=null) {
                
                // Sets the value of the vSpace attribute.
                
                   if (isset($vSpace))
                   {
                      $this->_vSpace = $vSpace;
                   }
                   return $this;
                
                }

              // Getters

                // getAlt

                function getAlt() {
                
                // Returns the value of the alt attribute.
                
                   return $this->_alt;
                
                }

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getHidden

                function getHidden() {
                
                // Returns the value of the hidden attribute.
                
                   return $this->_hidden;
                
                }

                // getPalette

                function getPalette() {
                
                // Returns the value of the palette attribute.
                
                   return $this->_palette;
                
                }

                // getHSpace

                function getHSpace() {
                
                // Returns the value of the hSpace attribute.
                
                   return $this->_hSpace;
                
                }

                // getVSpace

                function getVSpace() {
                
                // Returns the value of the vSpace attribute.
                
                   return $this->_vSpace;
                
                }

              // Unsetters

                // unsetAlt

                function unsetAlt() {
                
                // Clears the value of the alt attribute.
                
                   unset($this->_alt); return $this;
                
                }

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetHidden

                function unsetHidden() {
                
                // Clears the value of the hidden attribute.
                
                   unset($this->_hidden); return $this;
                
                }

                // unsetPalette

                function unsetPalette() {
                
                // Clears the value of the palette attribute.
                
                   unset($this->_palette); return $this;
                
                }

                // unsetHSpace

                function unsetHSpace() {
                
                // Clears the value of the hSpace attribute.
                
                   unset($this->_hSpace); return $this;
                
                }

                // unsetVSpace

                function unsetVSpace() {
                
                // Clears the value of the vSpace attribute.
                
                   unset($this->_vSpace); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLEmbedElement object.
              
              // Define:
              
                 $this->setTag('embed');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLEmbedElement object.
              
              // Define:
              
                 $this->addBoolean('hidden');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLEmbedElement object.
              
              // Define:
              
                 $this->addProperty('alt');
                 $this->addProperty('src');
                 $this->addProperty('name');
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('hSpace');
                 $this->addProperty('vSpace');
                 $this->addProperty('palette');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($src=null,$width=null,$height=null,$name=null) {
              
              // Defines the HTMLEmbedElement object from the given arguments.
              
              // Define:
              
                 $this->setSrc($src);
                 $this->setName($name);
                 $this->setWidth($width);
                 $this->setHeight($height);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLFontElement

          // {

          class HTMLFontElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLFontElement($face=null,$size=null,$color=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLFontElement::asDefault();

                    // hasProperties

                    HTMLFontElement::hasProperties();

                      // fromArguments

                      HTMLFontElement::fromArguments($face,$size,$color);

              // }

              }

            // Attributes

              // size

              var $_size;

              // face

              var $_face;

              // color

              var $_color;

            // Accessors

              // Setters

                // setSize

                function setSize($size=null) {
                
                // Sets the value of the size attribute.
                
                   if (isset($size))
                   {
                      $this->_size = $size;
                   }
                   return $this;
                
                }

                // setFace

                function setFace($face=null) {
                
                // Sets the value of the face attribute.
                
                   if (isset($face))
                   {
                      $this->_face = $face;
                   }
                   return $this;
                
                }

                // setColor

                function setColor($color=null) {
                
                // Sets the value of the color attribute.
                
                   if (isset($color))
                   {
                      $this->_color = $color;
                   }
                   return $this;
                
                }

              // Getters

                // getSize

                function getSize() {
                
                // Returns the value of the size attribute.
                
                   return $this->_size;
                
                }

                // getFace

                function getFace() {
                
                // Returns the value of the face attribute.
                
                   return $this->_face;
                
                }

                // getColor

                function getColor() {
                
                // Returns the value of the color attribute.
                
                   return $this->_color;
                
                }

              // Unsetters

                // unsetSize

                function unsetSize() {
                
                // Clears the value of the size attribute.
                
                   unset($this->_size); return $this;
                
                }

                // unsetFace

                function unsetFace() {
                
                // Clears the value of the face attribute.
                
                   unset($this->_face); return $this;
                
                }

                // unsetColor

                function unsetColor() {
                
                // Clears the value of the color attribute.
                
                   unset($this->_color); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLFontElement object.
              
              // Define:
              
                 $this->setTag('font');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLFontElement object.
              
              // Define:
              
                 $this->addProperty('size');
                 $this->addProperty('face');
                 $this->addProperty('color');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($face=null,$size=null,$color=null) {
              
              // Defines the HTMLFontElement object from the given arguments.
              
              // Define:
              
                 $this->setSize($size);
                 $this->setFace($face);
                 $this->setColor($color);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLFormElement

          // {

          class HTMLFormElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLFormElement($action=null,$method=null,$encType=null,$target=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLFormElement::asDefault();

                    // hasProperties

                    HTMLFormElement::hasProperties();

                      // fromArguments

                      HTMLFormElement::fromArguments($action,$method,$encType,$target);

              // }

              }

            // Attributes

              // name

              var $_name;

              // action

              var $_action;

              // target

              var $_target;

              // method

              var $_method;

              // encType

              var $_encType;

            // Accessors

              // Setters

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setAction

                function setAction($action=null) {
                
                // Sets the value of the action attribute.
                
                   if (isset($action))
                   {
                      $this->_action = $action;
                   }
                   return $this;
                
                }

                // setTarget

                function setTarget($target=null) {
                
                // Sets the value of the target attribute.
                
                   if (isset($target))
                   {
                      $this->_target = $target;
                   }
                   return $this;
                
                }

                // setMethod

                function setMethod($method=null) {
                
                // Sets the value of the method attribute.
                
                   if (isset($method))
                   {
                      $this->_method = $method;
                   }
                   return $this;
                
                }

                // setEncType

                function setEncType($encType=null) {
                
                // Sets the value of the encType attribute.
                
                   if (isset($encType))
                   {
                      $this->_encType = $encType;
                   }
                   return $this;
                
                }

              // Getters

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getAction

                function getAction() {
                
                // Returns the value of the action attribute.
                
                   return $this->_action;
                
                }

                // getTarget

                function getTarget() {
                
                // Returns the value of the target attribute.
                
                   return $this->_target;
                
                }

                // getMethod

                function getMethod() {
                
                // Returns the value of the method attribute.
                
                   return $this->_method;
                
                }

                // getEncType

                function getEncType() {
                
                // Returns the value of the encType attribute.
                
                   return $this->_encType;
                
                }

              // Unsetters

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetAction

                function unsetAction() {
                
                // Clears the value of the action attribute.
                
                   unset($this->_action); return $this;
                
                }

                // unsetTarget

                function unsetTarget() {
                
                // Clears the value of the target attribute.
                
                   unset($this->_target); return $this;
                
                }

                // unsetMethod

                function unsetMethod() {
                
                // Clears the value of the method attribute.
                
                   unset($this->_method); return $this;
                
                }

                // unsetEncType

                function unsetEncType() {
                
                // Clears the value of the encType attribute.
                
                   unset($this->_encType); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLFormElement object.
              
              // Define:
              
                 $this->setTag('form');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLFormElement object.
              
              // Define:
              
                 $this->addProperty('name');
                 $this->addProperty('action');
                 $this->addProperty('target');
                 $this->addProperty('method');
                 $this->addProperty('encType');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($action=null,$method=null,$encType=null,$target=null) {
              
              // Defines the HTMLFormElement object from the given arguments.
              
              // Define:
              
                 $this->setAction($action);
                 $this->setMethod($method);
                 $this->setTarget($target);
                 $this->setEncType($encType);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLFrameElement

          // {

          class HTMLFrameElement extends HTMLElement {

            // Construct

              // {

              function HTMLFrameElement($name=null,$src=null,$scrolling=null,$noResize=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLFrameElement::asDefault();

                    // hasBooleans

                    HTMLFrameElement::hasBooleans();

                      // hasProperties

                      HTMLFrameElement::hasProperties();

                        // fromArguments

                        HTMLFrameElement::fromArguments($name,$src,$scrolling,$noResize);

              // }

              }

            // Attributes

              // src

              var $_src;

              // name

              var $_name;

              // scrolling

              var $_scrolling;

              // noResize

              var $_noResize;

              // borderColor

              var $_borderColor;

              // frameBorder

              var $_frameBorder;

              // marginWidth

              var $_marginWidth;

              // marginHeight

              var $_marginHeight;

            // Accessors

              // Setters

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setScrolling

                function setScrolling($scrolling=null) {
                
                // Sets the value of the scrolling attribute.
                
                   if (isset($scrolling))
                   {
                      $this->_scrolling = $scrolling;
                   }
                   return $this;
                
                }

                // setNoResize

                function setNoResize($noResize=null) {
                
                // Sets the value of the noResize attribute.
                
                   if (isset($noResize))
                   {
                      $this->_noResize = $noResize;
                   }
                   return $this;
                
                }

                // setBorderColor

                function setBorderColor($borderColor=null) {
                
                // Sets the value of the borderColor attribute.
                
                   if (isset($borderColor))
                   {
                      $this->_borderColor = $borderColor;
                   }
                   return $this;
                
                }

                // setMarginWidth

                function setMarginWidth($marginWidth=null) {
                
                // Sets the value of the marginWidth attribute.
                
                   if (isset($marginWidth))
                   {
                      $this->_marginWidth = $marginWidth;
                   }
                   return $this;
                
                }

                // setFrameBorder

                function setFrameBorder($frameBorder=null) {
                
                // Sets the value of the frameBorder attribute.
                
                   if (isset($frameBorder))
                   {
                      $this->_frameBorder = $frameBorder;
                   }
                   return $this;
                
                }

                // setMarginHeight

                function setMarginHeight($marginHeight=null) {
                
                // Sets the value of the marginHeight attribute.
                
                   if (isset($marginHeight))
                   {
                      $this->_marginHeight = $marginHeight;
                   }
                   return $this;
                
                }

              // Getters

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getScrolling

                function getScrolling() {
                
                // Returns the value of the scrolling attribute.
                
                   return $this->_scrolling;
                
                }

                // getNoResize

                function getNoResize() {
                
                // Returns the value of the noResize attribute.
                
                   return $this->_noResize;
                
                }

                // getBorderColor

                function getBorderColor() {
                
                // Returns the value of the borderColor attribute.
                
                   return $this->_borderColor;
                
                }

                // getMarginWidth

                function getMarginWidth() {
                
                // Returns the value of the marginWidth attribute.
                
                   return $this->_marginWidth;
                
                }

                // getFrameBorder

                function getFrameBorder() {
                
                // Returns the value of the frameBorder attribute.
                
                   return $this->_frameBorder;
                
                }

                // getMarginHeight

                function getMarginHeight() {
                
                // Returns the value of the marginHeight attribute.
                
                   return $this->_marginHeight;
                
                }

              // Unsetters

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetScrolling

                function unsetScrolling() {
                
                // Clears the value of the scrolling attribute.
                
                   unset($this->_scrolling); return $this;
                
                }

                // unsetNoResize

                function unsetNoResize() {
                
                // Clears the value of the noResize attribute.
                
                   unset($this->_noResize); return $this;
                
                }

                // unsetBorderColor

                function unsetBorderColor() {
                
                // Clears the value of the borderColor attribute.
                
                   unset($this->_borderColor); return $this;
                
                }

                // unsetMarginWidth

                function unsetMarginWidth() {
                
                // Clears the value of the marginWidth attribute.
                
                   unset($this->_marginWidth); return $this;
                
                }

                // unsetFrameBorder

                function unsetFrameBorder() {
                
                // Clears the value of the frameBorder attribute.
                
                   unset($this->_frameBorder); return $this;
                
                }

                // unsetMarginHeight

                function unsetMarginHeight() {
                
                // Clears the value of the marginHeight attribute.
                
                   unset($this->_marginHeight); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLFrameElement object.
              
              // Define:
              
                 $this->setTag('frame');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLFrameElement object.
              
              // Define:
              
                 $this->addBoolean('noResize');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLFrameElement object.
              
              // Define:
              
                 $this->addProperty('src');
                 $this->addProperty('name');
                 $this->addProperty('scrolling');
                 $this->addProperty('frameBorder');
                 $this->addProperty('borderColor');
                 $this->addProperty('marginWidth');
                 $this->addProperty('marginHeight');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$src=null,$scrolling=null,$noResize=null) {
              
              // Defines the HTMLFrameElement object from the given arguments.
              
              // Define:
              
                 $this->setSrc($src);
                 $this->setName($name);
                 $this->setNoResize($noResize);
                 $this->setScrolling($scrolling);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLFrameSetElement

          // {

          class HTMLFrameSetElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLFrameSetElement($cols=null,$rows=null,$border=null,$frameBorder=null,$frameSpacing=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLFrameSetElement::asDefault();

                    // hasProperties

                    HTMLFrameSetElement::hasProperties();

                      // fromArguments

                      HTMLFrameSetElement::fromArguments($cols,$rows,$border,$frameBorder,$frameSpacing);

              // }

              }

            // Attributes

              // cols

              var $_cols;

              // rows

              var $_rows;

              // border

              var $_border;

              // borderColor

              var $_borderColor;

              // frameBorder

              var $_frameBorder;

              // frameSpacing

              var $_frameSpacing;

            // Accessors

              // Setters

                // setCols

                function setCols($cols=null) {
                
                // Sets the value of the cols attribute.
                
                   if (isset($cols))
                   {
                      $this->_cols = $cols;
                   }
                   return $this;
                
                }

                // setRows

                function setRows($rows=null) {
                
                // Sets the value of the rows attribute.
                
                   if (isset($rows))
                   {
                      $this->_rows = $rows;
                   }
                   return $this;
                
                }

                // setBorder

                function setBorder($border=null) {
                
                // Sets the value of the border attribute.
                
                   if (isset($border))
                   {
                      $this->_border = $border;
                   }
                   return $this;
                
                }

                // setBorderColor

                function setBorderColor($borderColor=null) {
                
                // Sets the value of the borderColor attribute.
                
                   if (isset($borderColor))
                   {
                      $this->_borderColor = $borderColor;
                   }
                   return $this;
                
                }

                // setFrameBorder

                function setFrameBorder($frameBorder=null) {
                
                // Sets the value of the frameBorder attribute.
                
                   if (isset($frameBorder))
                   {
                      $this->_frameBorder = $frameBorder;
                   }
                   return $this;
                
                }

                // setFrameSpacing

                function setFrameSpacing($frameSpacing=null) {
                
                // Sets the value of the frameSpacing attribute.
                
                   if (isset($frameSpacing))
                   {
                      $this->_frameSpacing = $frameSpacing;
                   }
                   return $this;
                
                }

              // Getters

                // getCols

                function getCols() {
                
                // Returns the value of the cols attribute.
                
                   return $this->_cols;
                
                }

                // getRows

                function getRows() {
                
                // Returns the value of the rows attribute.
                
                   return $this->_rows;
                
                }

                // getBorder

                function getBorder() {
                
                // Returns the value of the border attribute.
                
                   return $this->_border;
                
                }

                // getBorderColor

                function getBorderColor() {
                
                // Returns the value of the borderColor attribute.
                
                   return $this->_borderColor;
                
                }

                // getFrameBorder

                function getFrameBorder() {
                
                // Returns the value of the frameBorder attribute.
                
                   return $this->_frameBorder;
                
                }

                // getFrameSpacing

                function getFrameSpacing() {
                
                // Returns the value of the frameSpacing attribute.
                
                   return $this->_frameSpacing;
                
                }

              // Unsetters

                // unsetCols

                function unsetCols() {
                
                // Clears the value of the cols attribute.
                
                   unset($this->_cols); return $this;
                
                }

                // unsetRows

                function unsetRows() {
                
                // Clears the value of the rows attribute.
                
                   unset($this->_rows); return $this;
                
                }

                // unsetBorder

                function unsetBorder() {
                
                // Clears the value of the border attribute.
                
                   unset($this->_border); return $this;
                
                }

                // unsetBorderColor

                function unsetBorderColor() {
                
                // Clears the value of the borderColor attribute.
                
                   unset($this->_borderColor); return $this;
                
                }

                // unsetFrameBorder

                function unsetFrameBorder() {
                
                // Clears the value of the frameBorder attribute.
                
                   unset($this->_frameBorder); return $this;
                
                }

                // unsetFrameSpacing

                function unsetFrameSpacing() {
                
                // Clears the value of the frameSpacing attribute.
                
                   unset($this->_frameSpacing); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLFrameSetElement object.
              
              // Define:
              
                 $this->setTag('frameset');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLFrameSetElement object.
              
              // Define:
              
                 $this->addProperty('cols');
                 $this->addProperty('rows');
                 $this->addProperty('border');
                 $this->addProperty('borderColor');
                 $this->addProperty('frameBorder');
                 $this->addProperty('frameSpacing');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($cols=null,$rows=null,$border=null,$frameBorder=null,$frameSpacing=null) {
              
              // Defines the HTMLFrameSetElement object from the given arguments.
              
              // Define:
              
                 $this->setCols($cols);
                 $this->setRows($rows);
                 $this->setBorder($border);
                 $this->setFrameBorder($frameBorder);
                 $this->setFrameSpacing($frameSpacing);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLHeadElement

          // {

          class HTMLHeadElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLHeadElement($title=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLHeadElement::asDefault();

                    // fromArguments

                    HTMLHeadElement::fromArguments($title);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLHeadElement object.
              
              // Define:
              
                 $this->setTag('head');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($title=null) {
              
              // Defines the HTMLHeadElement object from the given arguments.
              
              // Define:
              
                 $this->addElement((isset($title) ? new HTMLTitleElement($title) : null));
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLHeadingElement

          // {

          class HTMLHeadingElement extends HTMLSingularElement {

            // Methods

              // draw

              function draw() {
              
              // Returns the HTML representing the HTMLHeading.
              
                 return "<h".$this->getLevel().
                             $this->drawEvents().
                             $this->drawBooleans().
                             $this->drawProperties().">".$this->drawElement()."</h".$this->getLevel().">";
              
              }

            // Construct

              // {

              function HTMLHeadingElement($level=null,$text=null,$align=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLHeadingElement::asDefault();

                    // hasProperties

                    HTMLHeadingElement::hasProperties();

                      // fromArguments

                      HTMLHeadingElement::fromArguments($level,$text,$align);

              // }

              }

            // Attributes

              // align

              var $_align;

              // level

              var $_level;

            // Accessors

              // Setters

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setLevel

                function setLevel($level=null) {
                
                // Sets the value of the level attribute.
                
                   if (is_integer($level) && $level > 0 && $level < 7)
                   {
                      $this->_level = $level;
                   }
                   return $this;
                
                }

              // Getters

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getLevel

                function getLevel() {
                
                // Returns the value of the level attribute.
                
                   return $this->_level;
                
                }

              // Unsetters

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetLevel

                function unsetLevel() {
                
                // Clears the value of the level attribute.
                
                   unset($this->_level); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLHeadingElement object.
              
              // Define:
              
                 $this->setLevel(1);
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLHeadingElement object.
              
              // Define:
              
                 $this->addProperty('align');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($level=null,$text=null,$align=null) {
              
              // Defines the HTMLHeadingElement object from the given arguments.
              
              // Define:
              
                 $this->setLevel($level);
                 $this->setAlign($align);
                 $this->setElement($text);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLHorizontalRuleElement

          // {

          class HTMLHorizontalRuleElement extends HTMLElement {

            // Construct

              // {

              function HTMLHorizontalRuleElement($size=null,$width=null,$align=null,$noShade=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLHorizontalRuleElement::asDefault();

                    // hasBooleans

                    HTMLHorizontalRuleElement::hasBooleans();

                      // hasProperties

                      HTMLHorizontalRuleElement::hasProperties();

                        // fromArguments

                        HTMLHorizontalRuleElement::fromArguments($size,$width,$align,$noShade);

              // }

              }

            // Attributes

              // size

              var $_size;

              // align

              var $_align;

              // width

              var $_width;

              // noShade

              var $_noShade;

            // Accessors

              // Setters

                // setSize

                function setSize($size=null) {
                
                // Sets the value of the size attribute.
                
                   if (isset($size))
                   {
                      $this->_size = $size;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setNoShade

                function setNoShade($noShade=null) {
                
                // Sets the value of the noShade attribute.
                
                   if (isset($noShade))
                   {
                      $this->_noShade = $noShade;
                   }
                   return $this;
                
                }

              // Getters

                // getSize

                function getSize() {
                
                // Returns the value of the size attribute.
                
                   return $this->_size;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getNoShade

                function getNoShade() {
                
                // Returns the value of the noShade attribute.
                
                   return $this->_noShade;
                
                }

              // Unsetters

                // unsetSize

                function unsetSize() {
                
                // Clears the value of the size attribute.
                
                   unset($this->_size); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetNoShade

                function unsetNoShade() {
                
                // Clears the value of the noShade attribute.
                
                   unset($this->_noShade); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLHorizontalRuleElement object.
              
              // Define:
              
                 $this->setTag('hr');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLHorizontalRuleElement object.
              
              // Define:
              
                 $this->addBoolean('noShade');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLHorizontalRuleElement object.
              
              // Define:
              
                 $this->addProperty('size');
                 $this->addProperty('align');
                 $this->addProperty('width');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($size=null,$width=null,$align=null,$noShade=null) {
              
              // Defines the HTMLHorizontalRuleElement object from the given arguments.
              
              // Define:
              
                 $this->setSize($size);
                 $this->setAlign($align);
                 $this->setWidth($width);
                 $this->setNoShade($noShade);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLHyperLinkElement

          // {

          class HTMLHyperLinkElement extends HTMLAnchorElement {

            // Construct

              // {

              function HTMLHyperLinkElement($href=null,$element=null,$target=null) {

                // Parent

                  // HTMLAnchorElement

                  $this->HTMLAnchorElement();

                // Object

                  // fromArguments

                  HTMLHyperLinkElement::fromArguments($href,$element,$target);

              // }

              }

            // Definitions

              // fromArguments

              function fromArguments($href=null,$element=null,$target=null) {
              
              // Defines the HTMLHyperLinkElement object from the given arguments.
              
              // Define:
              
                 $this->setHref($href);
                 $this->setTarget($target);
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLImageElement

          // {

          class HTMLImageElement extends HTMLElement {

            // Construct

              // {

              function HTMLImageElement($src=null,$width=null,$height=null,$alt=null,$border=null,$align=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLImageElement::asDefault();

                    // hasBooleans

                    HTMLImageElement::hasBooleans();

                      // hasProperties

                      HTMLImageElement::hasProperties();

                        // fromArguments

                        HTMLImageElement::fromArguments($src,$width,$height,$alt,$border,$align);

              // }

              }

            // Attributes

              // alt

              var $_alt;

              // src

              var $_src;

              // align

              var $_align;

              // name

              var $_name;

              // width

              var $_width;

              // isMap

              var $_isMap;

              // height

              var $_height;

              // lowSrc

              var $_lowSrc;

              // border

              var $_border;

              // hSpace

              var $_hSpace;

              // vSpace

              var $_vSpace;

              // useMap

              var $_useMap;

            // Accessors

              // Setters

                // setAlt

                function setAlt($alt=null) {
                
                // Sets the value of the alt attribute.
                
                   if (isset($alt))
                   {
                      $this->_alt = $alt;
                   }
                   return $this;
                
                }

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setIsMap

                function setIsMap($isMap=null) {
                
                // Sets the value of the isMap attribute.
                
                   if (isset($isMap))
                   {
                      $this->_isMap = $isMap;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setLowSrc

                function setLowSrc($lowSrc=null) {
                
                // Sets the value of the lowSrc attribute.
                
                   if (isset($lowSrc))
                   {
                      $this->_lowSrc = $lowSrc;
                   }
                   return $this;
                
                }

                // setBorder

                function setBorder($border=null) {
                
                // Sets the value of the border attribute.
                
                   if (isset($border))
                   {
                      $this->_border = $border;
                   }
                   return $this;
                
                }

                // setHSpace

                function setHSpace($hSpace=null) {
                
                // Sets the value of the hSpace attribute.
                
                   if (isset($hSpace))
                   {
                      $this->_hSpace = $hSpace;
                   }
                   return $this;
                
                }

                // setVSpace

                function setVSpace($vSpace=null) {
                
                // Sets the value of the vSpace attribute.
                
                   if (isset($vSpace))
                   {
                      $this->_vSpace = $vSpace;
                   }
                   return $this;
                
                }

                // setUseMap

                function setUseMap($useMap=null) {
                
                // Sets the value of the useMap attribute.
                
                   if (isset($useMap))
                   {
                      $this->_useMap = $useMap;
                   }
                   return $this;
                
                }

              // Getters

                // getAlt

                function getAlt() {
                
                // Returns the value of the alt attribute.
                
                   return $this->_alt;
                
                }

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getIsMap

                function getIsMap() {
                
                // Returns the value of the isMap attribute.
                
                   return $this->_isMap;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getLowSrc

                function getLowSrc() {
                
                // Returns the value of the lowSrc attribute.
                
                   return $this->_lowSrc;
                
                }

                // getBorder

                function getBorder() {
                
                // Returns the value of the border attribute.
                
                   return $this->_border;
                
                }

                // getHSpace

                function getHSpace() {
                
                // Returns the value of the hSpace attribute.
                
                   return $this->_hSpace;
                
                }

                // getVSpace

                function getVSpace() {
                
                // Returns the value of the vSpace attribute.
                
                   return $this->_vSpace;
                
                }

                // getUseMap

                function getUseMap() {
                
                // Returns the value of the useMap attribute.
                
                   return $this->_useMap;
                
                }

              // Unsetters

                // unsetAlt

                function unsetAlt() {
                
                // Clears the value of the alt attribute.
                
                   unset($this->_alt); return $this;
                
                }

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetIsMap

                function unsetIsMap() {
                
                // Clears the value of the isMap attribute.
                
                   unset($this->_isMap); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetLowSrc

                function unsetLowSrc() {
                
                // Clears the value of the lowSrc attribute.
                
                   unset($this->_lowSrc); return $this;
                
                }

                // unsetBorder

                function unsetBorder() {
                
                // Clears the value of the border attribute.
                
                   unset($this->_border); return $this;
                
                }

                // unsetHSpace

                function unsetHSpace() {
                
                // Clears the value of the hSpace attribute.
                
                   unset($this->_hSpace); return $this;
                
                }

                // unsetVSpace

                function unsetVSpace() {
                
                // Clears the value of the vSpace attribute.
                
                   unset($this->_vSpace); return $this;
                
                }

                // unsetUseMap

                function unsetUseMap() {
                
                // Clears the value of the useMap attribute.
                
                   unset($this->_useMap); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLImageElement object.
              
              // Define:
              
                 $this->setTag('img');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLImageElement object.
              
              // Define:
              
                 $this->addBoolean('isMap');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLImageElement object.
              
              // Define:
              
                 $this->addProperty('alt');
                 $this->addProperty('src');
                 $this->addProperty('name');
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('border');
                 $this->addProperty('hSpace');
                 $this->addProperty('vSpace');
                 $this->addProperty('lowSrc');
                 $this->addProperty('useMap');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($src=null,$width=null,$height=null,$alt=null,$border=null,$align=null) {
              
              // Defines the HTMLImageElement object from the given arguments.
              
              // Define:
              
                 $this->setAlt($alt);
                 $this->setSrc($src);
                 $this->setAlign($align);
                 $this->setWidth($width);
                 $this->setHeight($height);
                 $this->setBorder($border);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLInputElement

          // {

          class HTMLInputElement extends HTMLElement {

            // Construct

              // {

              function HTMLInputElement($type=null,$name=null,$value=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLInputElement::asDefault();

                    // hasBooleans

                    HTMLInputElement::hasBooleans();

                      // hasProperties

                      HTMLInputElement::hasProperties();

                        // fromArguments

                        HTMLInputElement::fromArguments($type,$name,$value);

              // }

              }

            // Attributes

              // alt

              var $_alt;

              // src

              var $_src;

              // size

              var $_size;

              // type

              var $_type;

              // align

              var $_align;

              // width

              var $_width;

              // value

              var $_value;

              // name

              var $_name;

              // height

              var $_height;

              // border

              var $_border;

              // checked

              var $_checked;

              // disabled

              var $_disabled;

              // readOnly

              var $_readOnly;

              // tabIndex

              var $_tabIndex;

              // maxLength

              var $_maxLength;

            // Accessors

              // Setters

                // setAlt

                function setAlt($alt=null) {
                
                // Sets the value of the alt attribute.
                
                   if (isset($alt))
                   {
                      $this->_alt = $alt;
                   }
                   return $this;
                
                }

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setSize

                function setSize($size=null) {
                
                // Sets the value of the size attribute.
                
                   if (isset($size))
                   {
                      $this->_size = $size;
                   }
                   return $this;
                
                }

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setValue

                function setValue($value=null) {
                
                // Sets the value of the value attribute.
                
                   if (isset($value))
                   {
                      $this->_value = $value;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setBorder

                function setBorder($border=null) {
                
                // Sets the value of the border attribute.
                
                   if (isset($border))
                   {
                      $this->_border = $border;
                   }
                   return $this;
                
                }

                // setDisabled

                function setDisabled($disabled=null) {
                
                // Sets the value of the disabled attribute.
                
                   if (isset($disabled))
                   {
                      $this->_disabled = $disabled;
                   }
                   return $this;
                
                }

                // setChecked

                function setChecked($checked=null) {
                
                // Sets the value of the checked attribute.
                
                   if (isset($checked))
                   {
                      $this->_checked = $checked;
                   }
                   return $this;
                
                }

                // setReadOnly

                function setReadOnly($readOnly=null) {
                
                // Sets the value of the readOnly attribute.
                
                   if (isset($readOnly))
                   {
                      $this->_readOnly = $readOnly;
                   }
                   return $this;
                
                }

                // setTabIndex

                function setTabIndex($tabIndex=null) {
                
                // Sets the value of the tabIndex attribute.
                
                   if (isset($tabIndex))
                   {
                      $this->_tabIndex = $tabIndex;
                   }
                   return $this;
                
                }

                // setMaxLength

                function setMaxLength($maxLength=null) {
                
                // Sets the value of the maxLength attribute.
                
                   if (isset($maxLength))
                   {
                      $this->_maxLength = $maxLength;
                   }
                   return $this;
                
                }

              // Getters

                // getAlt

                function getAlt() {
                
                // Returns the value of the alt attribute.
                
                   return $this->_alt;
                
                }

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getSize

                function getSize() {
                
                // Returns the value of the size attribute.
                
                   return $this->_size;
                
                }

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getValue

                function getValue() {
                
                // Returns the value of the value attribute.
                
                   return $this->_value;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getBorder

                function getBorder() {
                
                // Returns the value of the border attribute.
                
                   return $this->_border;
                
                }

                // getDisabled

                function getDisabled() {
                
                // Returns the value of the disabled attribute.
                
                   return $this->_disabled;
                
                }

                // getChecked

                function getChecked() {
                
                // Returns the value of the checked attribute.
                
                   return $this->_checked;
                
                }

                // getReadOnly

                function getReadOnly() {
                
                // Returns the value of the readOnly attribute.
                
                   return $this->_readOnly;
                
                }

                // getTabIndex

                function getTabIndex() {
                
                // Returns the value of the tabIndex attribute.
                
                   return $this->_tabIndex;
                
                }

                // getMaxLength

                function getMaxLength() {
                
                // Returns the value of the maxLength attribute.
                
                   return $this->_maxLength;
                
                }

              // Unsetters

                // unsetAlt

                function unsetAlt() {
                
                // Clears the value of the alt attribute.
                
                   unset($this->_alt); return $this;
                
                }

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetSize

                function unsetSize() {
                
                // Clears the value of the size attribute.
                
                   unset($this->_size); return $this;
                
                }

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetValue

                function unsetValue() {
                
                // Clears the value of the value attribute.
                
                   unset($this->_value); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetBorder

                function unsetBorder() {
                
                // Clears the value of the border attribute.
                
                   unset($this->_border); return $this;
                
                }

                // unsetDisabled

                function unsetDisabled() {
                
                // Clears the value of the disabled attribute.
                
                   unset($this->_disabled); return $this;
                
                }

                // unsetChecked

                function unsetChecked() {
                
                // Clears the value of the checked attribute.
                
                   unset($this->_checked); return $this;
                
                }

                // unsetReadOnly

                function unsetReadOnly() {
                
                // Clears the value of the readOnly attribute.
                
                   unset($this->_readOnly); return $this;
                
                }

                // unsetTabIndex

                function unsetTabIndex() {
                
                // Clears the value of the tabIndex attribute.
                
                   unset($this->_tabIndex); return $this;
                
                }

                // unsetMaxLength

                function unsetMaxLength() {
                
                // Clears the value of the maxLength attribute.
                
                   unset($this->_maxLength); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLInputElement object.
              
              // Define:
              
                 $this->setTag('input');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLInputElement object.
              
              // Define:
              
                 $this->addBoolean('checked');
                 $this->addBoolean('disabled');
                 $this->addBoolean('readOnly');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLInputElement object.
              
              // Define:
              
                 $this->addProperty('alt');
                 $this->addProperty('src');
                 $this->addProperty('name');
                 $this->addProperty('type');
                 $this->addProperty('size');
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('value');
                 $this->addProperty('border');
                 $this->addProperty('height');
                 $this->addProperty('tabIndex');
                 $this->addProperty('maxLength');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($type=null,$name=null,$value=null) {
              
              // Defines the HTMLInputElement object from the given arguments.
              
              // Define:
              
                 $this->setType($type);
                 $this->setName($name);
                 $this->setValue($value);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLItalicElement

          // {

          class HTMLItalicElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLItalicElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLItalicElement::asDefault();

                    // fromArguments

                    HTMLItalicElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLItalicElement object.
              
              // Define:
              
                 $this->setTag('i');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLItalicElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLLinkElement

          // {

          class HTMLLinkElement extends HTMLElement {

            // Construct

              // {

              function HTMLLinkElement($rel=null,$type=null,$href=null,$src=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLLinkElement::asDefault();

                    // hasProperties

                    HTMLLinkElement::hasProperties();

                      // fromArguments

                      HTMLLinkElement::fromArguments($rel,$type,$href,$src);

              // }

              }

            // Attributes

              // rel

              var $_rel;

              // src

              var $_src;

              // href

              var $_href;

              // type

              var $_type;

            // Accessors

              // Setters

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setRel

                function setRel($rel=null) {
                
                // Sets the value of the rel attribute.
                
                   if (isset($rel))
                   {
                      $this->_rel = $rel;
                   }
                   return $this;
                
                }

                // setHref

                function setHref($href=null) {
                
                // Sets the value of the href attribute.
                
                   if (isset($href))
                   {
                      $this->_href = $href;
                   }
                   return $this;
                
                }

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

              // Getters

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getRel

                function getRel() {
                
                // Returns the value of the rel attribute.
                
                   return $this->_rel;
                
                }

                // getHref

                function getHref() {
                
                // Returns the value of the href attribute.
                
                   return $this->_href;
                
                }

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

              // Unsetters

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetRel

                function unsetRel() {
                
                // Clears the value of the rel attribute.
                
                   unset($this->_rel); return $this;
                
                }

                // unsetHref

                function unsetHref() {
                
                // Clears the value of the href attribute.
                
                   unset($this->_href); return $this;
                
                }

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLLinkElement object.
              
              // Define:
              
                 $this->setTag('link');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLLinkElement object.
              
              // Define:
              
                 $this->addProperty('rel');
                 $this->addProperty('src');
                 $this->addProperty('href');
                 $this->addProperty('type');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($rel=null,$type=null,$href=null,$src=null) {
              
              // Defines the HTMLLinkElement object from the given arguments.
              
              // Define:
              
                 $this->setSrc($src);
                 $this->setRel($rel);
                 $this->setHref($href);
                 $this->setType($type);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLListItemElement

          // {

          class HTMLListItemElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLListItemElement($element=null,$type=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLListItemElement::asDefault();

                    // hasProperties

                    HTMLListItemElement::hasProperties();

                      // fromArguments

                      HTMLListItemElement::fromArguments($element,$type);

              // }

              }

            // Attributes

              // type

              var $_type;

            // Accessors

              // Setters

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

              // Getters

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

              // Unsetters

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLListItemElement object.
              
              // Define:
              
                 $this->setTag('li');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLListItemElement object.
              
              // Define:
              
                 $this->addProperty('type');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null,$type=null) {
              
              // Defines the HTMLListItemElement object from the given arguments.
              
              // Define:
              
                 $this->setType($type);
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLMapElement

          // {

          class HTMLMapElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLMapElement($name=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLMapElement::asDefault();

                    // hasProperties

                    HTMLMapElement::hasProperties();

                      // fromArguments

                      HTMLMapElement::fromArguments($name);

              // }

              }

            // Attributes

              // name

              var $_name;

            // Accessors

              // Setters

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

              // Getters

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

              // Unsetters

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLMapElement object.
              
              // Define:
              
                 $this->setTag('map');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLMapElement object.
              
              // Define:
              
                 $this->addProperty('name');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null) {
              
              // Defines the HTMLMapElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLMetaElement

          // {

          class HTMLMetaElement extends HTMLElement {

            // Construct

              // {

              function HTMLMetaElement($name=null,$content=null,$httpEquiv=null) {

                // Parent

                  // HTMLElement

                  $this->HTMLElement();

                // Object

                  // asDefault

                  HTMLMetaElement::asDefault();

                    // hasProperties

                    HTMLMetaElement::hasProperties();

                      // fromArguments

                      HTMLMetaElement::fromArguments($name,$content,$httpEquiv);

              // }

              }

            // Attributes

              // name

              var $_name;

              // content

              var $_content;

              // httpEquiv

              var $_httpEquiv;

            // Accessors

              // Setters

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setContent

                function setContent($content=null) {
                
                // Sets the value of the content attribute.
                
                   if (isset($content))
                   {
                      $this->_content = $content;
                   }
                   return $this;
                
                }

                // setHttpEquiv

                function setHttpEquiv($httpEquiv=null) {
                
                // Sets the value of the httpEquiv attribute.
                
                   if (isset($httpEquiv))
                   {
                      $this->_httpEquiv = $httpEquiv;
                   }
                   return $this;
                
                }

              // Getters

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getContent

                function getContent() {
                
                // Returns the value of the content attribute.
                
                   return $this->_content;
                
                }

                // getHttpEquiv

                function getHttpEquiv() {
                
                // Returns the value of the httpEquiv attribute.
                
                   return $this->_httpEquiv;
                
                }

              // Unsetters

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetContent

                function unsetContent() {
                
                // Clears the value of the content attribute.
                
                   unset($this->_content); return $this;
                
                }

                // unsetHttpEquiv

                function unsetHttpEquiv() {
                
                // Clears the value of the httpEquiv attribute.
                
                   unset($this->_httpEquiv); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLMetaElement object.
              
              // Define:
              
                 $this->setTag('meta');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLMetaElement object.
              
              // Define:
              
                 $this->addProperty('name');
                 $this->addProperty('content');
                 $this->addProperty('httpEquiv','http-equiv');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$content=null,$httpEquiv=null) {
              
              // Defines the HTMLMetaElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
                 $this->setContent($content);
                 $this->setHttpEquiv($httpEquiv);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLObjectElement

          // {

          class HTMLObjectElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLObjectElement($codeBase=null,$classId=null,$width=null,$height=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLObjectElement::asDefault();

                    // hasProperties

                    HTMLObjectElement::hasProperties();

                      // fromArguments

                      HTMLObjectElement::fromArguments($codeBase,$classId,$width,$height);

              // }

              }

            // Attributes

              // data

              var $_data;

              // type

              var $_type;

              // align

              var $_align;

              // width

              var $_width;

              // height

              var $_height;

              // classId

              var $_classId;

              // hSpace

              var $_hSpace;

              // vSpace

              var $_vSpace;

              // codeBase

              var $_codeBase;

            // Accessors

              // Setters

                // setData

                function setData($data=null) {
                
                // Sets the value of the data attribute.
                
                   if (isset($data))
                   {
                      $this->_data = $data;
                   }
                   return $this;
                
                }

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setClassId

                function setClassId($classId=null) {
                
                // Sets the value of the classId attribute.
                
                   if (isset($classId))
                   {
                      $this->_classId = $classId;
                   }
                   return $this;
                
                }

                // setHSpace

                function setHSpace($hSpace=null) {
                
                // Sets the value of the hSpace attribute.
                
                   if (isset($hSpace))
                   {
                      $this->_hSpace = $hSpace;
                   }
                   return $this;
                
                }

                // setVSpace

                function setVSpace($vSpace=null) {
                
                // Sets the value of the vSpace attribute.
                
                   if (isset($vSpace))
                   {
                      $this->_vSpace = $vSpace;
                   }
                   return $this;
                
                }

                // setCodeBase

                function setCodeBase($codeBase=null) {
                
                // Sets the value of the codeBase attribute.
                
                   if (isset($codeBase))
                   {
                      $this->_codeBase = $codeBase;
                   }
                   return $this;
                
                }

              // Getters

                // getData

                function getData() {
                
                // Returns the value of the data attribute.
                
                   return $this->_data;
                
                }

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getClassId

                function getClassId() {
                
                // Returns the value of the classId attribute.
                
                   return $this->_classId;
                
                }

                // getHSpace

                function getHSpace() {
                
                // Returns the value of the hSpace attribute.
                
                   return $this->_hSpace;
                
                }

                // getVSpace

                function getVSpace() {
                
                // Returns the value of the vSpace attribute.
                
                   return $this->_vSpace;
                
                }

                // getCodeBase

                function getCodeBase() {
                
                // Returns the value of the codeBase attribute.
                
                   return $this->_codeBase;
                
                }

              // Unsetters

                // unsetData

                function unsetData() {
                
                // Clears the value of the data attribute.
                
                   unset($this->_data); return $this;
                
                }

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetClassId

                function unsetClassId() {
                
                // Clears the value of the classId attribute.
                
                   unset($this->_classId); return $this;
                
                }

                // unsetHSpace

                function unsetHSpace() {
                
                // Clears the value of the hSpace attribute.
                
                   unset($this->_hSpace); return $this;
                
                }

                // unsetVSpace

                function unsetVSpace() {
                
                // Clears the value of the vSpace attribute.
                
                   unset($this->_vSpace); return $this;
                
                }

                // unsetCodeBase

                function unsetCodeBase() {
                
                // Clears the value of the codeBase attribute.
                
                   unset($this->_codeBase); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLObjectElement object.
              
              // Define:
              
                 $this->setTag('object');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLObjectElement object.
              
              // Define:
              
                 $this->addProperty('data');
                 $this->addProperty('type');
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('hSpace');
                 $this->addProperty('vSpace');
                 $this->addProperty('classId');
                 $this->addProperty('codeBase');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($codeBase=null,$classId=null,$width=null,$height=null) {
              
              // Defines the HTMLObjectElement object from the given arguments.
              
              // Define:
              
                 $this->setWidth($width);
                 $this->setHeight($height);
                 $this->setClassId($classId);
                 $this->setCodeBase($codeBase);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLOptionElement

          // {

          class HTMLOptionElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLOptionElement($value=null,$text=null,$selected=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLOptionElement::asDefault();

                    // hasBooleans

                    HTMLOptionElement::hasBooleans();

                      // hasProperties

                      HTMLOptionElement::hasProperties();

                        // fromArguments

                        HTMLOptionElement::fromArguments($value,$text,$selected);

              // }

              }

            // Attributes

              // value

              var $_value;

              // selected

              var $_selected;

            // Accessors

              // Setters

                // setValue

                function setValue($value=null) {
                
                // Sets the value of the value attribute.
                
                   if (isset($value))
                   {
                      $this->_value = $value;
                   }
                   return $this;
                
                }

                // setSelected

                function setSelected($selected=null) {
                
                // Sets the value of the selected attribute.
                
                   if (isset($selected))
                   {
                      $this->_selected = $selected;
                   }
                   return $this;
                
                }

              // Getters

                // getValue

                function getValue() {
                
                // Returns the value of the value attribute.
                
                   return $this->_value;
                
                }

                // getSelected

                function getSelected() {
                
                // Returns the value of the selected attribute.
                
                   return $this->_selected;
                
                }

              // Unsetters

                // unsetValue

                function unsetValue() {
                
                // Clears the value of the value attribute.
                
                   unset($this->_value); return $this;
                
                }

                // unsetSelected

                function unsetSelected() {
                
                // Clears the value of the selected attribute.
                
                   unset($this->_selected); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLOptionElement object.
              
              // Define:
              
                 $this->setTag('option');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLOptionElement object.
              
              // Define:
              
                 $this->addBoolean('selected');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLOptionElement object.
              
              // Define:
              
                 $this->addProperty('value');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($value=null,$text=null,$selected=null) {
              
              // Defines the HTMLOptionElement object from the given arguments.
              
              // Define:
              
                 $this->setValue($value);
                 $this->setElement($text);
                 $this->setSelected($selected);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLOrderedListElement

          // {

          class HTMLOrderedListElement extends HTMLUnorderedListElement {

            // Construct

              // {

              function HTMLOrderedListElement($type=null,$start=null,$compact=null) {

                // Parent

                  // HTMLUnorderedListElement

                  $this->HTMLUnorderedListElement();

                // Object

                  // asDefault

                  HTMLOrderedListElement::asDefault();

                    // hasProperties

                    HTMLOrderedListElement::hasProperties();

                      // fromArguments

                      HTMLOrderedListElement::fromArguments($type,$start,$compact);

              // }

              }

            // Attributes

              // start

              var $_start;

            // Accessors

              // Setters

                // setStart

                function setStart($start=null) {
                
                // Sets the value of the start attribute.
                
                   if (isset($start))
                   {
                      $this->_start = $start;
                   }
                   return $this;
                
                }

              // Getters

                // getStart

                function getStart() {
                
                // Returns the value of the start attribute.
                
                   return $this->_start;
                
                }

              // Unsetters

                // unsetStart

                function unsetStart() {
                
                // Clears the value of the start attribute.
                
                   unset($this->_start); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLOrderedListElement object.
              
              // Define:
              
                 $this->setTag('ol');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLOrderedListElement object.
              
              // Define:
              
                 $this->addProperty('start');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($type=null,$start=null,$compact=null) {
              
              // Defines the HTMLOrderedListElement object from the given arguments.
              
              // Define:
              
                 $this->setType($type);
                 $this->setStart($start);
                 $this->setCompact($compact);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLParagraphElement

          // {

          class HTMLParagraphElement extends HTMLDivElement {

            // Construct

              // {

              function HTMLParagraphElement($align=null) {

                // Parent

                  // HTMLDivElement

                  $this->HTMLDivElement();

                // Object

                  // asDefault

                  HTMLParagraphElement::asDefault();

                    // fromArguments

                    HTMLParagraphElement::fromArguments($align);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLParagraphElement object.
              
              // Define:
              
                 $this->setTag('p');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($align=null) {
              
              // Defines the HTMLParagraphElement object from the given arguments.
              
              // Define:
              
                 $this->setAlign($align);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLParamElement

          // {

          class HTMLParamElement extends HTMLElement {

            // Construct

              // {

              function HTMLParamElement($name=null,$value=null) {

                // Object

                  // HTMLElement

                  $this->HTMLElement();

                // Parent

                  // asDefault

                  HTMLParamElement::asDefault();

                    // hasProperties

                    HTMLParamElement::hasProperties();

                      // fromArguments

                      HTMLParamElement::fromArguments($name,$value);

              // }

              }

            // Attributes

              // value

              var $_value;

              // name

              var $_name;

            // Accessors

              // Setters

                // setValue

                function setValue($value=null) {
                
                // Sets the value of the value attribute.
                
                   if (isset($value))
                   {
                      $this->_value = $value;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

              // Getters

                // getValue

                function getValue() {
                
                // Returns the value of the value attribute.
                
                   return $this->_value;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

              // Unsetters

                // unsetValue

                function unsetValue() {
                
                // Clears the value of the value attribute.
                
                   unset($this->_value); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLParamElement object.
              
              // Define:
              
                 $this->setTag('param');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLParamElement object.
              
              // Define:
              
                 $this->addProperty('name');
                 $this->addProperty('value');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$value=null) {
              
              // Defines the HTMLParamElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
                 $this->setValue($value);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLPreformattedTextElement

          // {

          class HTMLPreformattedTextElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLPreformattedTextElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLPreformattedTextElement::asDefault();

                    // fromArguments

                    HTMLPreformattedTextElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLPreformattedTextElement object.
              
              // Define:
              
                 $this->setTag('pre');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLPreformattedTextElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLScriptElement

          // {

          class HTMLScriptElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLScriptElement($src=null,$language=null,$type=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLScriptElement::asDefault();

                    // hasBooleans

                    HTMLScriptElement::hasBooleans();

                      // hasProperties

                      HTMLScriptElement::hasProperties();

                        // fromArguments

                        HTMLScriptElement::fromArguments($src,$language,$type);

              // }

              }

            // Attributes

              // src

              var $_src;

              // type

              var $_type;

              // defer

              var $_defer;

              // event

              var $_event;

              // language

              var $_language;

              // forElement

              var $_forElement;

            // Accessors

              // Setters

                // setSrc

                function setSrc($src=null) {
                
                // Sets the value of the src attribute.
                
                   if (isset($src))
                   {
                      $this->_src = $src;
                   }
                   return $this;
                
                }

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

                // setDefer

                function setDefer($defer=null) {
                
                // Sets the value of the defer attribute.
                
                   if (isset($defer))
                   {
                      $this->_defer = $defer;
                   }
                   return $this;
                
                }

                // setEvent

                function setEvent($event=null) {
                
                // Sets the value of the event attribute.
                
                   if (isset($event))
                   {
                      $this->_event = $event;
                   }
                   return $this;
                
                }

                // setLanguage

                function setLanguage($language=null) {
                
                // Sets the value of the language attribute.
                
                   if (isset($language))
                   {
                      $this->_language = $language;
                   }
                   return $this;
                
                }

                // setForElement

                function setForElement($forElement=null) {
                
                // Sets the value of the forElement attribute.
                
                   if (isset($forElement))
                   {
                      $this->_forElement = $forElement;
                   }
                   return $this;
                
                }

              // Getters

                // getSrc

                function getSrc() {
                
                // Returns the value of the src attribute.
                
                   return $this->_src;
                
                }

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

                // getDefer

                function getDefer() {
                
                // Returns the value of the defer attribute.
                
                   return $this->_defer;
                
                }

                // getEvent

                function getEvent() {
                
                // Returns the value of the event attribute.
                
                   return $this->_event;
                
                }

                // getLanguage

                function getLanguage() {
                
                // Returns the value of the language attribute.
                
                   return $this->_language;
                
                }

                // getForElement

                function getForElement() {
                
                // Returns the value of the forElement attribute.
                
                   return $this->_forElement;
                
                }

              // Unsetters

                // unsetSrc

                function unsetSrc() {
                
                // Clears the value of the src attribute.
                
                   unset($this->_src); return $this;
                
                }

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

                // unsetDefer

                function unsetDefer() {
                
                // Clears the value of the defer attribute.
                
                   unset($this->_defer); return $this;
                
                }

                // unsetEvent

                function unsetEvent() {
                
                // Clears the value of the event attribute.
                
                   unset($this->_event); return $this;
                
                }

                // unsetLanguage

                function unsetLanguage() {
                
                // Clears the value of the language attribute.
                
                   unset($this->_language); return $this;
                
                }

                // unsetForElement

                function unsetForElement() {
                
                // Clears the value of the forElement attribute.
                
                   unset($this->_forElement); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLScriptElement object.
              
              // Define:
              
                 $this->setTag('script');
                 $this->setLanguage('JavaScript');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLScriptElement object.
              
              // Define:
              
                 $this->addBoolean('defer');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLScriptElement object.
              
              // Define:
              
                 $this->addProperty('src');
                 $this->addProperty('type');
                 $this->addProperty('event');
                 $this->addProperty('language');
                 $this->addProperty('forElement','for');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($src=null,$language=null,$type=null) {
              
              // Defines the HTMLScriptElement object from the given arguments.
              
              // Define:
              
                 $this->setSrc($src);
                 $this->setType($type);
                 $this->setLanguage($language);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLSelectElement

          // {

          class HTMLSelectElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLSelectElement($name=null,$size=null,$multiple=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLSelectElement::asDefault();

                    // hasBooleans

                    HTMLSelectElement::hasBooleans();

                      // hasProperties

                      HTMLSelectElement::hasProperties();

                        // fromArguments

                        HTMLSelectElement::fromArguments($name,$size,$multiple);

              // }

              }

            // Attributes

              // size

              var $_size;

              // align

              var $_align;

              // name

              var $_name;

              // multiple

              var $_multiple;

              // disabled

              var $_disabled;

              // tabIndex

              var $_tabIndex;

            // Accessors

              // Setters

                // setSize

                function setSize($size=null) {
                
                // Sets the value of the size attribute.
                
                   if (isset($size))
                   {
                      $this->_size = $size;
                   }
                   return $this;
                
                }

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setMultiple

                function setMultiple($multiple=null) {
                
                // Sets the value of the multiple attribute.
                
                   if (isset($multiple))
                   {
                      $this->_multiple = $multiple;
                   }
                   return $this;
                
                }

                // setDisabled

                function setDisabled($disabled=null) {
                
                // Sets the value of the disabled attribute.
                
                   if (isset($disabled))
                   {
                      $this->_disabled = $disabled;
                   }
                   return $this;
                
                }

                // setTabIndex

                function setTabIndex($tabIndex=null) {
                
                // Sets the value of the tabIndex attribute.
                
                   if (isset($tabIndex))
                   {
                      $this->_tabIndex = $tabIndex;
                   }
                   return $this;
                
                }

              // Getters

                // getSize

                function getSize() {
                
                // Returns the value of the size attribute.
                
                   return $this->_size;
                
                }

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getMultiple

                function getMultiple() {
                
                // Returns the value of the multiple attribute.
                
                   return $this->_multiple;
                
                }

                // getDisabled

                function getDisabled() {
                
                // Returns the value of the disabled attribute.
                
                   return $this->_disabled;
                
                }

                // getTabIndex

                function getTabIndex() {
                
                // Returns the value of the tabIndex attribute.
                
                   return $this->_tabIndex;
                
                }

              // Setters

                // unsetSize

                function unsetSize() {
                
                // Clears the value of the size attribute.
                
                   unset($this->_size); return $this;
                
                }

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetMultiple

                function unsetMultiple() {
                
                // Clears the value of the multiple attribute.
                
                   unset($this->_multiple); return $this;
                
                }

                // unsetDisabled

                function unsetDisabled() {
                
                // Clears the value of the disabled attribute.
                
                   unset($this->_disabled); return $this;
                
                }

                // unsetTabIndex

                function unsetTabIndex() {
                
                // Clears the value of the tabIndex attribute.
                
                   unset($this->_tabIndex); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLSelectElement object.
              
              // Define:
              
                 $this->setTag('select');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLSelectElement object.
              
              // Define:
              
                 $this->addBoolean('multiple');
                 $this->addBoolean('disabled');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLSelectElement object.
              
              // Define:
              
                 $this->addProperty('name');
                 $this->addProperty('size');
                 $this->addProperty('align');
                 $this->addProperty('tabIndex');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$size=null,$multiple=null) {
              
              // Defines the HTMLSelectElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
                 $this->setSize($size);
                 $this->setMultiple($multiple);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLSpanElement

          // {

          class HTMLSpanElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLSpanElement() {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLSpanElement::asDefault();

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLSpanElement object.
              
              // Define:
              
                 $this->setTag('span');
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLStrikeElement

          // {

          class HTMLStrikeElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLStrikeElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLStrikeElement::asDefault();

                    // fromArguments

                    HTMLStrikeElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLStrikeElement object.
              
              // Define:
              
                 $this->setTag('s');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLStrikeElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLSubscriptElement

          // {

          class HTMLSubscriptElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLSubscriptElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLSubscriptElement::asDefault();

                    // fromArguments

                    HTMLSubscriptElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLSubscriptElement object.
              
              // Define:
              
                 $this->setTag('sub');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLSubscriptElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLSuperscriptElement

          // {

          class HTMLSuperscriptElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLSuperscriptElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLSuperscriptElement::asDefault();

                    // fromArguments

                    HTMLSuperscriptElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLSuperscriptElement object.
              
              // Define:
              
                 $this->setTag('sup');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLSuperscriptElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTableElement

          // {

          class HTMLTableElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLTableElement($width=null,$height=null,$cellPadding=null,$cellSpacing=null,$border=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLTableElement::asDefault();

                    // hasProperties

                    HTMLTableElement::hasProperties();

                      // fromArguments

                      HTMLTableElement::fromArguments($width,$height,$cellPadding,$cellSpacing,$border);

              // }

              }

            // Attributes

              // align

              var $_align;

              // width

              var $_width;

              // height

              var $_height;

              // border

              var $_border;

              // bgColor

              var $_bgColor;

              // cellSpacing

              var $_cellSpacing;

              // cellPadding

              var $_cellPadding;

              // background

              var $_background;

              // borderColor

              var $_borderColor;

            // Accessors

              // Setters

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setBorder

                function setBorder($border=null) {
                
                // Sets the value of the border attribute.
                
                   if (isset($border))
                   {
                      $this->_border = $border;
                   }
                   return $this;
                
                }

                // setBgColor

                function setBgColor($bgColor=null) {
                
                // Sets the value of the bgColor attribute.
                
                   if (isset($bgColor))
                   {
                      $this->_bgColor = $bgColor;
                   }
                   return $this;
                
                }

                // setCellSpacing

                function setCellSpacing($cellSpacing=null) {
                
                // Sets the value of the cellSpacing attribute.
                
                   if (isset($cellSpacing))
                   {
                      $this->_cellSpacing = $cellSpacing;
                   }
                   return $this;
                
                }

                // setCellPadding

                function setCellPadding($cellPadding=null) {
                
                // Sets the value of the cellPadding attribute.
                
                   if (isset($cellPadding))
                   {
                      $this->_cellPadding = $cellPadding;
                   }
                   return $this;
                
                }

                // setBackground

                function setBackground($background=null) {
                
                // Sets the value of the background attribute.
                
                   if (isset($background))
                   {
                      $this->_background = $background;
                   }
                   return $this;
                
                }

                // setBorderColor

                function setBorderColor($borderColor=null) {
                
                // Sets the value of the borderColor attribute.
                
                   if (isset($borderColor))
                   {
                      $this->_borderColor = $borderColor;
                   }
                   return $this;
                
                }

              // Getters

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getBorder

                function getBorder() {
                
                // Returns the value of the border attribute.
                
                   return $this->_border;
                
                }

                // getBgColor

                function getBgColor() {
                
                // Returns the value of the bgColor attribute.
                
                   return $this->_bgColor;
                
                }

                // getCellSpacing

                function getCellSpacing() {
                
                // Returns the value of the cellSpacing attribute.
                
                   return $this->_cellSpacing;
                
                }

                // getCellPadding

                function getCellPadding() {
                
                // Returns the value of the cellPadding attribute.
                
                   return $this->_cellPadding;
                
                }

                // getBackground

                function getBackground() {
                
                // Returns the value of the background attribute.
                
                   return $this->_background;
                
                }

                // getBorderColor

                function getBorderColor() {
                
                // Returns the value of the borderColor attribute.
                
                   return $this->_borderColor;
                
                }

              // Unsetters

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetBorder

                function unsetBorder() {
                
                // Clears the value of the border attribute.
                
                   unset($this->_border); return $this;
                
                }

                // unsetBgColor

                function unsetBgColor() {
                
                // Clears the value of the bgColor attribute.
                
                   unset($this->_bgColor); return $this;
                
                }

                // unsetCellSpacing

                function unsetCellSpacing() {
                
                // Clears the value of the cellSpacing attribute.
                
                   unset($this->_cellSpacing); return $this;
                
                }

                // unsetCellPadding

                function unsetCellPadding() {
                
                // Clears the value of the cellPadding attribute.
                
                   unset($this->_cellPadding); return $this;
                
                }

                // unsetBackground

                function unsetBackground() {
                
                // Clears the value of the background attribute.
                
                   unset($this->_background); return $this;
                
                }

                // unsetBorderColor

                function unsetBorderColor() {
                
                // Clears the value of the borderColor attribute.
                
                   unset($this->_borderColor); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTableElement object.
              
              // Define:
              
                 $this->setTag('table');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLTableElement object.
              
              // Define:
              
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('border');
                 $this->addProperty('bgColor');
                 $this->addProperty('background');
                 $this->addProperty('cellSpacing');
                 $this->addProperty('cellPadding');
                 $this->addProperty('borderColor');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($width=null,$height=null,$cellPadding=null,$cellSpacing=null,$border=null) {
              
              // Defines the HTMLTableElement object from the given arguments.
              
              // Define:
              
                 $this->setWidth($width);
                 $this->setHeight($height);
                 $this->setBorder($border);
                 $this->setCellPadding($cellPadding);
                 $this->setCellSpacing($cellSpacing);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTableDataElement

          // {

          class HTMLTableDataElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLTableDataElement($element=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLTableDataElement::asDefault();

                    // hasBooleans

                    HTMLTableDataElement::hasBooleans();

                      // hasProperties

                      HTMLTableDataElement::hasProperties();

                        // fromArguments

                        HTMLTableDataElement::fromArguments($element);

              // }

              }

            // Attributes

              // align

              var $_align;

              // width

              var $_width;

              // height

              var $_height;

              // vAlign

              var $_vAlign;

              // bgColor

              var $_bgColor;

              // colSpan

              var $_colSpan;

              // noWrap

              var $_noWrap;

              // rowSpan

              var $_rowSpan;

              // background

              var $_background;

            // Accessors

              // Setters

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setWidth

                function setWidth($width=null) {
                
                // Sets the value of the width attribute.
                
                   if (isset($width))
                   {
                      $this->_width = $width;
                   }
                   return $this;
                
                }

                // setHeight

                function setHeight($height=null) {
                
                // Sets the value of the height attribute.
                
                   if (isset($height))
                   {
                      $this->_height = $height;
                   }
                   return $this;
                
                }

                // setVAlign

                function setVAlign($vAlign=null) {
                
                // Sets the value of the vAlign attribute.
                
                   if (isset($vAlign))
                   {
                      $this->_vAlign = $vAlign;
                   }
                   return $this;
                
                }

                // setBgColor

                function setBgColor($bgColor=null) {
                
                // Sets the value of the bgColor attribute.
                
                   if (isset($bgColor))
                   {
                      $this->_bgColor = $bgColor;
                   }
                   return $this;
                
                }

                // setColSpan

                function setColSpan($colSpan=null) {
                
                // Sets the value of the colSpan attribute.
                
                   if (isset($colSpan))
                   {
                      $this->_colSpan = $colSpan;
                   }
                   return $this;
                
                }

                // setNoWrap

                function setNoWrap($noWrap=null) {
                
                // Sets the value of the noWrap attribute.
                
                   if (isset($noWrap))
                   {
                      $this->_noWrap = $noWrap;
                   }
                   return $this;
                
                }

                // setRowSpan

                function setRowSpan($rowSpan=null) {
                
                // Sets the value of the rowSpan attribute.
                
                   if (isset($rowSpan))
                   {
                      $this->_rowSpan = $rowSpan;
                   }
                   return $this;
                
                }

                // setBackground

                function setBackground($background=null) {
                
                // Sets the value of the background attribute.
                
                   if (isset($background))
                   {
                      $this->_background = $background;
                   }
                   return $this;
                
                }

              // Getters

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getWidth

                function getWidth() {
                
                // Returns the value of the width attribute.
                
                   return $this->_width;
                
                }

                // getHeight

                function getHeight() {
                
                // Returns the value of the height attribute.
                
                   return $this->_height;
                
                }

                // getVAlign

                function getVAlign() {
                
                // Returns the value of the vAlign attribute.
                
                   return $this->_vAlign;
                
                }

                // getBgColor

                function getBgColor() {
                
                // Returns the value of the bgColor attribute.
                
                   return $this->_bgColor;
                
                }

                // getColSpan

                function getColSpan() {
                
                // Returns the value of the colSpan attribute.
                
                   return $this->_colSpan;
                
                }

                // getNoWrap

                function getNoWrap() {
                
                // Returns the value of the noWrap attribute.
                
                   return $this->_noWrap;
                
                }

                // getRowSpan

                function getRowSpan() {
                
                // Returns the value of the rowSpan attribute.
                
                   return $this->_rowSpan;
                
                }

                // getBackground

                function getBackground() {
                
                // Returns the value of the background attribute.
                
                   return $this->_background;
                
                }

              // Unsetters

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetWidth

                function unsetWidth() {
                
                // Clears the value of the width attribute.
                
                   unset($this->_width); return $this;
                
                }

                // unsetHeight

                function unsetHeight() {
                
                // Clears the value of the height attribute.
                
                   unset($this->_height); return $this;
                
                }

                // unsetVAlign

                function unsetVAlign() {
                
                // Clears the value of the vAlign attribute.
                
                   unset($this->_vAlign); return $this;
                
                }

                // unsetBgColor

                function unsetBgColor() {
                
                // Clears the value of the bgColor attribute.
                
                   unset($this->_bgColor); return $this;
                
                }

                // unsetColSpan

                function unsetColSpan() {
                
                // Clears the value of the colSpan attribute.
                
                   unset($this->_colSpan); return $this;
                
                }

                // unsetNoWrap

                function unsetNoWrap() {
                
                // Clears the value of the noWrap attribute.
                
                   unset($this->_noWrap); return $this;
                
                }

                // unsetRowSpan

                function unsetRowSpan() {
                
                // Clears the value of the rowSpan attribute.
                
                   unset($this->_rowSpan); return $this;
                
                }

                // unsetBackground

                function unsetBackground() {
                
                // Clears the value of the background attribute.
                
                   unset($this->_background); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTableDataElement object.
              
              // Define:
              
                 $this->setTag('td');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLTableDataElement object.
              
              // Define:
              
                 $this->addBoolean('noWrap');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLTableDataElement object.
              
              // Define:
              
                 $this->addProperty('align');
                 $this->addProperty('width');
                 $this->addProperty('height');
                 $this->addProperty('vAlign');
                 $this->addProperty('bgColor');
                 $this->addProperty('colSpan');
                 $this->addProperty('rowSpan');
                 $this->addProperty('background');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLTableDataElement object from the given arguments.
              
              // Define:
              
                 $this->addElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTableHeaderElement

          // {

          class HTMLTableHeaderElement extends HTMLTableDataElement {

            // Construct

              // {

              function HTMLTableHeaderElement($element=null) {

                // Parent

                  // HTMLTableDataElement

                  $this->HTMLTableDataElement();

                // Object

                  // asDefault

                  HTMLTableHeaderElement::asDefault();

                    // fromArguments

                    HTMLTableHeaderElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTableHeaderElement object.
              
              // Define:
              
                 $this->setTag('th');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLTableHeaderElement object from the given arguments.
              
              // Define:
              
                 $this->addElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTableRowElement

          // {

          class HTMLTableRowElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLTableRowElement($align=null,$vAlign=null,$bgColor=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLTableRowElement::asDefault();

                    // hasProperties

                    HTMLTableRowElement::hasProperties();

                      // fromArguments

                      HTMLTableRowElement::fromArguments($align,$vAlign,$bgColor);

              // }

              }

            // Attributes

              // align

              var $_align;

              // vAlign

              var $_vAlign;

              // bgColor

              var $_bgColor;

            // Accessors

              // Setters

                // setAlign

                function setAlign($align=null) {
                
                // Sets the value of the align attribute.
                
                   if (isset($align))
                   {
                      $this->_align = $align;
                   }
                   return $this;
                
                }

                // setVAlign

                function setVAlign($vAlign=null) {
                
                // Sets the value of the vAlign attribute.
                
                   if (isset($vAlign))
                   {
                      $this->_vAlign = $vAlign;
                   }
                   return $this;
                
                }

                // setBgColor

                function setBgColor($bgColor=null) {
                
                // Sets the value of the bgColor attribute.
                
                   if (isset($bgColor))
                   {
                      $this->_bgColor = $bgColor;
                   }
                   return $this;
                
                }

              // Getters

                // getAlign

                function getAlign() {
                
                // Returns the value of the align attribute.
                
                   return $this->_align;
                
                }

                // getVAlign

                function getVAlign() {
                
                // Returns the value of the vAlign attribute.
                
                   return $this->_vAlign;
                
                }

                // getBgColor

                function getBgColor() {
                
                // Returns the value of the bgColor attribute.
                
                   return $this->_bgColor;
                
                }

              // Unsetters

                // unsetAlign

                function unsetAlign() {
                
                // Clears the value of the align attribute.
                
                   unset($this->_align); return $this;
                
                }

                // unsetVAlign

                function unsetVAlign() {
                
                // Clears the value of the vAlign attribute.
                
                   unset($this->_vAlign); return $this;
                
                }

                // unsetBgColor

                function unsetBgColor() {
                
                // Clears the value of the bgColor attribute.
                
                   unset($this->_bgColor); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTableRowElement object.
              
              // Define:
              
                 $this->setTag('tr');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLTableRowElement object.
              
              // Define:
              
                 $this->addProperty('align');
                 $this->addProperty('vAlign');
                 $this->addProperty('bgColor');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($align=null,$vAlign=null,$bgColor=null) {
              
              // Defines the HTMLTableRowElement object from the given arguments.
              
              // Define:
              
                 $this->setAlign($align);
                 $this->setVAlign($vAlign);
                 $this->setBgColor($bgColor);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTextAreaElement

          // {

          class HTMLTextAreaElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLTextAreaElement($name=null,$cols=null,$rows=null,$wrap=null,$value=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLTextAreaElement::asDefault();

                    // hasBooleans

                    HTMLTextAreaElement::hasBooleans();

                      // hasProperties

                      HTMLTextAreaElement::hasProperties();

                        // fromArguments

                        HTMLTextAreaElement::fromArguments($name,$cols,$rows,$wrap,$value);

              // }

              }

            // Attributes

              // cols

              var $_cols;

              // rows

              var $_rows;

              // wrap

              var $_wrap;

              // name

              var $_name;

              // disabled

              var $_disabled;

              // readOnly

              var $_readOnly;

              // tabIndex

              var $_tabIndex;

            // Accessors

              // Setters

                // setCols

                function setCols($cols=null) {
                
                // Sets the value of the cols attribute.
                
                   if (isset($cols))
                   {
                      $this->_cols = $cols;
                   }
                   return $this;
                
                }

                // setRows

                function setRows($rows=null) {
                
                // Sets the value of the rows attribute.
                
                   if (isset($rows))
                   {
                      $this->_rows = $rows;
                   }
                   return $this;
                
                }

                // setWrap

                function setWrap($wrap=null) {
                
                // Sets the value of the wrap attribute.
                
                   if (isset($wrap))
                   {
                      $this->_wrap = $wrap;
                   }
                   return $this;
                
                }

                // setName

                function setName($name=null) {
                
                // Sets the value of the name attribute.
                
                   if (isset($name))
                   {
                      $this->_name = $name;
                   }
                   return $this;
                
                }

                // setDisabled

                function setDisabled($disabled=null) {
                
                // Sets the value of the disabled attribute.
                
                   if (isset($disabled))
                   {
                      $this->_disabled = $disabled;
                   }
                   return $this;
                
                }

                // setReadOnly

                function setReadOnly($readOnly=null) {
                
                // Sets the value of the readOnly attribute.
                
                   if (isset($readOnly))
                   {
                      $this->_readOnly = $readOnly;
                   }
                   return $this;
                
                }

                // setTabIndex

                function setTabIndex($tabIndex=null) {
                
                // Sets the value of the tabIndex attribute.
                
                   if (isset($tabIndex))
                   {
                      $this->_tabIndex = $tabIndex;
                   }
                   return $this;
                
                }

              // Getters

                // getCols

                function getCols() {
                
                // Returns the value of the cols attribute.
                
                   return $this->_cols;
                
                }

                // getRows

                function getRows() {
                
                // Returns the value of the rows attribute.
                
                   return $this->_rows;
                
                }

                // getWrap

                function getWrap() {
                
                // Returns the value of the wrap attribute.
                
                   return $this->_wrap;
                
                }

                // getName

                function getName() {
                
                // Returns the value of the name attribute.
                
                   return $this->_name;
                
                }

                // getDisabled

                function getDisabled() {
                
                // Returns the value of the disabled attribute.
                
                   return $this->_disabled;
                
                }

                // getReadOnly

                function getReadOnly() {
                
                // Returns the value of the readOnly attribute.
                
                   return $this->_readOnly;
                
                }

                // getTabIndex

                function getTabIndex() {
                
                // Returns the value of the tabIndex attribute.
                
                   return $this->_tabIndex;
                
                }

              // Unsetters

                // unsetCols

                function unsetCols() {
                
                // Clears the value of the cols attribute.
                
                   unset($this->_cols); return $this;
                
                }

                // unsetRows

                function unsetRows() {
                
                // Clears the value of the rows attribute.
                
                   unset($this->_rows); return $this;
                
                }

                // unsetWrap

                function unsetWrap() {
                
                // Clears the value of the wrap attribute.
                
                   unset($this->_wrap); return $this;
                
                }

                // unsetName

                function unsetName() {
                
                // Clears the value of the name attribute.
                
                   unset($this->_name); return $this;
                
                }

                // unsetDisabled

                function unsetDisabled() {
                
                // Clears the value of the disabled attribute.
                
                   unset($this->_disabled); return $this;
                
                }

                // unsetReadOnly

                function unsetReadOnly() {
                
                // Clears the value of the readOnly attribute.
                
                   unset($this->_readOnly); return $this;
                
                }

                // unsetTabIndex

                function unsetTabIndex() {
                
                // Clears the value of the tabIndex attribute.
                
                   unset($this->_tabIndex); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTextAreaElement object.
              
              // Define:
              
                 $this->setTag('textarea');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLTextAreaElement object.
              
              // Define:
              
                 $this->addBoolean('disabled');
                 $this->addBoolean('readOnly');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLTextAreaElement object.
              
              // Define:
              
                 $this->addProperty('cols');
                 $this->addProperty('rows');
                 $this->addProperty('wrap');
                 $this->addProperty('name');
                 $this->addProperty('tabIndex');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($name=null,$cols=null,$rows=null,$wrap=null,$value=null) {
              
              // Defines the HTMLTextAreaElement object from the given arguments.
              
              // Define:
              
                 $this->setName($name);
                 $this->setCols($cols);
                 $this->setRows($rows);
                 $this->setWrap($wrap);
                 $this->setElement($value);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLTitleElement

          // {

          class HTMLTitleElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLTitleElement($text=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLTitleElement::asDefault();

                    // fromArguments

                    HTMLTitleElement::fromArguments($text);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLTitleElement object.
              
              // Define:
              
                 $this->setTag('title');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($text=null) {
              
              // Defines the HTMLTitleElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($text);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLUnderlineElement

          // {

          class HTMLUnderlineElement extends HTMLSingularElement {

            // Construct

              // {

              function HTMLUnderlineElement($element=null) {

                // Parent

                  // HTMLSingularElement

                  $this->HTMLSingularElement();

                // Object

                  // asDefault

                  HTMLUnderlineElement::asDefault();

                    // fromArguments

                    HTMLUnderlineElement::fromArguments($element);

              // }

              }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLUnderlineElement object.
              
              // Define:
              
                 $this->setTag('u');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($element=null) {
              
              // Defines the HTMLUnderlineElement object from the given arguments.
              
              // Define:
              
                 $this->setElement($element);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

        // HTMLUnorderedListElement

          // {

          class HTMLUnorderedListElement extends HTMLContainerElement {

            // Construct

              // {

              function HTMLUnorderedListElement($type=null,$compact=null) {

                // Parent

                  // HTMLContainerElement

                  $this->HTMLContainerElement();

                // Object

                  // asDefault

                  HTMLUnorderedListElement::asDefault();

                    // hasBooleans

                    HTMLUnorderedListElement::hasBooleans();

                      // hasProperties

                      HTMLUnorderedListElement::hasProperties();

                        // fromArguments

                        HTMLUnorderedListElement::fromArguments($type,$compact);

              // }

              }

            // Attributes

              // type

              var $_type;

              // compact

              var $_compact;

            // Accessors

              // Setters

                // setType

                function setType($type=null) {
                
                // Sets the value of the type attribute.
                
                   if (isset($type))
                   {
                      $this->_type = $type;
                   }
                   return $this;
                
                }

                // setCompact

                function setCompact($compact=null) {
                
                // Sets the value of the compact attribute.
                
                   if (isset($compact))
                   {
                      $this->_compact = $compact;
                   }
                   return $this;
                
                }

              // Getters

                // getType

                function getType() {
                
                // Returns the value of the type attribute.
                
                   return $this->_type;
                
                }

                // getCompact

                function getCompact() {
                
                // Returns the value of the compact attribute.
                
                   return $this->_compact;
                
                }

              // Unsetters

                // unsetType

                function unsetType() {
                
                // Clears the value of the type attribute.
                
                   unset($this->_type); return $this;
                
                }

                // unsetCompact

                function unsetCompact() {
                
                // Clears the value of the compact attribute.
                
                   unset($this->_compact); return $this;
                
                }

            // Definitions

              // asDefault

              function asDefault() {
              
              // Default definition of the HTMLUnorderedListElement object.
              
              // Define:
              
                 $this->setTag('ul');
              
              // Answer:
              
                 return $this;
              
              }

              // hasBooleans

              function hasBooleans() {
              
              // Defines the booleans of the HTMLUnorderedListElement object.
              
              // Define:
              
                 $this->addBoolean('compact');
              
              // Answer:
              
                 return $this;
              
              }

              // hasProperties

              function hasProperties() {
              
              // Defines the properties of the HTMLUnorderedListElement object.
              
              // Define:
              
                 $this->addProperty('type');
              
              // Answer:
              
                 return $this;
              
              }

              // fromArguments

              function fromArguments($type=null,$compact=null) {
              
              // Defines the HTMLUnorderedListElement object from the given arguments.
              
              // Define:
              
                 $this->setType($type);
                 $this->setCompact($compact);
              
              // Answer:
              
                 return $this;
              
              }

          // }

          }

  // Hierarchy

    // HTMLObject

      // HTMLContainer

      // HTMLControl

      // HTMLDocument

      // HTMLElement

        // HTMLSingularElement

          // HTMLAnchorElement

            // HTMLHyperLinkElement

          // HTMLBlockQuoteElement

          // HTMLBoldElement

          // HTMLEmbedElement

          // HTMLHeadingElement

          // HTMLItalicElement

          // HTMLListItemElement

          // HTMLOptionElement

          // HTMLPreformattedTextElement

          // HTMLScriptElement

          // HTMLStrikeElement

          // HTMLSubscriptElement

          // HTMLSuperscriptElement

          // HTMLTextAreaElement

          // HTMLTitleElement

          // HTMLUnderlineElement

        // HTMLContainerElement

          // HTMLAppletElement

          // HTMLBodyElement

          // HTMLDivElement

            // HTMLParagraphElement

          // HTMLFontElement

          // HTMLFormElement

          // HTMLFrameSetElement

          // HTMLHeadElement

          // HTMLMapElement

          // HTMLObjectElement

          // HTMLSelectElement

          // HTMLSpanElement

          // HTMLTableElement

          // HTMLTableCellElement

            // HTMLTableHeaderElement

          // HTMLTableRowElement

          // HTMLUnorderedListElement

            // HTMLOrderedListElement

        // HTMLAreaElement

        // HTMLBaseElement

        // HTMLBaseFontElement

        // HTMLBreakElement

        // HTMLFrameElement

        // HTMLHorizontalRuleElement

        // HTMLImageElement

        // HTMLInputElement

        // HTMLLinkElement

        // HTMLMetaElement

        // HTMLParamElement

      // HTMLEntity

      // HTMLString

?>
Return current item: Mocha