JavaScript HTML DOM Examples
Examples of using JavaScript to access and manipulate DOM objects.
The Document Object
Display all name/value pairs of cookies in a documentDisplay the domain name of the server that loaded the documentDisplay the date and time the document was last modifiedDisplay the title of a documentDisplay the full URL of a documentReplace the content of a documentOpen a new window, and add some contentDisplay the number of elements with a specific nameDisplay the number of elements with a specific tag name

