Lesson 4.1
Introduction to XML
XML (eXtensible Markup Language) is a markup language designed to store and transport data in a form that both people and computers can read. It was standardised by the World Wide Web Consortium (W3C).
Grade 12 Information Technology · Unit 4
Unit 4 of the Grade 12 Information Technology textbook has 3 lessons: Introduction to XML, HTML vs XML and Publishing a Website.
Lesson 4.1
XML (eXtensible Markup Language) is a markup language designed to store and transport data in a form that both people and computers can read. It was standardised by the World Wide Web Consortium (W3C).
Lesson 4.2
HTML (HyperText Markup Language) and XML are both markup languages that use tags in angle brackets, and both come from the older SGML family. However, they were designed for different purposes.
Lesson 4.3
Publishing a website means making web pages available on the internet so anyone can visit them.
3 of the 6 questions in the Unit 4 quiz. Try each one, then reveal the answer.
1. Which XML fragment is well-formed?
Answer: <item id="5">Pen</item>
It has a quoted attribute and a matching end tag. The others have case-mismatched tags, wrong nesting or a missing end tag.
2. What is the main purpose of HTML compared with XML?
Answer: HTML displays data in a browser
HTML focuses on presenting content (headings, paragraphs, images), while XML focuses on describing and carrying data.
3. Which system translates a domain name such as example.com into an IP address?
Answer: DNS
The Domain Name System looks up the IP address of the web server so the browser can connect to it.
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.