Presentation is loading. Please wait.

Presentation is loading. Please wait.

Markup basics. Markup languages add commentary to text files –so that the commentary can be ignored if not understood eg HyperText Markup Language –adds.

Similar presentations


Presentation on theme: "Markup basics. Markup languages add commentary to text files –so that the commentary can be ignored if not understood eg HyperText Markup Language –adds."— Presentation transcript:

1 Markup basics

2 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

3 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

4 Structure of an HTML document header stuff… some text a bold link

5 …which is a tree! header stuff… some text a bold link

6 …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


Download ppt "Markup basics. Markup languages add commentary to text files –so that the commentary can be ignored if not understood eg HyperText Markup Language –adds."

Similar presentations


Ads by Google