Wednesday, 10 February 2010

Week 15

Object model is divided into two parts
“Secondly a collection of objects or classes through which a program can examine and manipulate some specific parts of its world.”

XHTML is derived from XML file, compare to HTML it is very strict about syntax and dynamic.

< html xmlns=http://www.w3.org/1999/xhtml xml:lang=”en”>
The above line is use to represent a name space in HTML document.

Since the late 1990 the whole computer programming industry has gone crazy about object. Object this object that. Things are created as object or turned into one. DOM document object modelling is one example take a simple text document add a XML with one root and several tag which you might think the document need and use a XML phrase which turn your newly created xml document into object with nodes and each node is an object. What I am wording is that what happen if you no longer need an xml?

2 comments:

  1. XHTML document need to be well-formed. They can be parsed using an xml parser.

    ReplyDelete
  2. In XHTML document, all tag names must be in lowercase, and all attribute values must be quotes. Not ture of HTML.

    ReplyDelete