SERVICES

CRYSTAL COMPUTER CONCEPTS

TAXES Fuzzy-Wuzzy device TECHNOLOGY

DELAWARE'S   ·      MIDDLETOWN  ·     ODESSA  ·    TOWNSEND AREA

The basics to understand the Document Object Model follow:

The Javascript is exposed between the script tags primarily for familiarization purposes.

document is the highest level element.

Document Object Model (DOM)

For DOM there is an Object. The object is the element

To the element such as "p" you can attach a method and propery with a dot.

Display provded by script as follows:

<div style="float:right; margin-right:20%;margin-top:2px">
<p> document is the highest level element. </p>
</div>


<h1>Document Object Model (DOM)</h1>
<p>For DOM there is an Object.  The object is the element</p>
<p>To the element such as "p" you can attach a method and propery with a dot.</p>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = "Thus, you have element.method.property = a value.!";
</script>



Result- Code interpreted and executed:


DELAWARE'S MIDDLETOWN ODESSA AND TOWNSEND AREA

Valid XHTML 1.0 Transitional