Martin Francis

Blog of Web Designer Martin Francis

21
Oct 2010

DOM - TEST BLOG


blog image relevant to text


The Document Object Model is an API (Application Program Interface)
for HTML and XML documents.

It does two things for web developers:

it provides a structural representation of the document,
it defines the way that that structure is to be accessed from script, allowing you to get at the web page as a structured group of nodes.

Essentially, it connects web pages to scripts or programming languages. “

For example if I wanted to add some margin to all the images in a particular page I could add this the head of the document


Posted by: martin Last updated on:2010-10-17 14:20:51
Tag:- dom