Markup basics
Markup languages add commentary to text files –so that the commentary can be ignored if not understood eg HyperText Markup Language –adds markup on presentation within a window hypertext links to other similar documents
Markup metalanguage (de facto…) here is some marked up text modern definition (not old HTML) –tags may be nested but not interleaved – tags always occur in pairs tags may have attributes
Structure of an HTML document header stuff… some text a bold link
…which is a tree! header stuff… some text a bold link
…with an underlying data structure… The Document Object Model Large, complex and rapidly emerging standard Basic node properties: –nodeName, nodeValue, nodeType –firstChild, nextSibling children, lastChild, previousSibling