MBOSE Class IX Computer Science · Chapter 11
Content Technology
Opening soonHow web pages are written in HTML — page structure, text, lists, pictures and links — and how XML uses tags of our own to store data.
16 lessons · 103 practice questions
What this chapter covers
- What HTML is
- Tags, elements and attributes
- Container and empty tags
- Structure of a page (HTML, HEAD, TITLE, BODY)
- Headings, paragraphs, line breaks and horizontal lines
- Bold, italic and underline
- The FONT tag and colour attributes
- Ordered and unordered lists
- Images
- Hyperlinks
- XML basics — user-defined tags, rules, XML compared with HTML, a simple XML document
Key terms
- content technology
Meaning: languages and tools used to create web content and share data
Example: HTML, XML
- HTML
Meaning: HyperText Markup Language, used to create web pages
- hypertext
Meaning: text with links to other pages
- markup
Meaning: tags that tell the browser how to display text
Example:
<B>- tag
Meaning: an instruction in angle brackets
Example:
<P>- closing tag
Meaning: a tag with a slash, ending an element
Example:
</P>- container tag
Meaning: has opening and closing tags with content
Example:
<B>…</B>- empty tag
Meaning: has only an opening tag
Example:
<BR>- element
Meaning: opening tag + content + closing tag
Example:
<I>Tura</I>- attribute
Meaning: extra information inside the opening tag
Example:
ALIGN="CENTER"- HEAD / BODY
Meaning: page information / content shown in the window
- TITLE
Meaning: text on the browser's title bar (tab)
Example:
<TITLE>My page</TITLE>
Important questions with answers
10 of the 103 questions on this chapter, solved.
Question 1 · Multiple choice · 1 mark
HTML stands for
- (a) High Text Markup Language
- (b) HyperText Making Language
- (c) HyperText Markup Language
- (d) HyperTool Markup Language
Answer: (c) HyperText Markup Language
Hypertext is text with links; markup means tags for display.
Question 2 · Multiple choice · 1 mark
The correct order of closing tags at the end of a page is
- (a)
</HTML>then</BODY> - (b)
</BODY>then</HTML> - (c)
</HEAD>then</HTML> - (d)
</TITLE>then</BODY>
Answer: (b)
</BODY>then</HTML>The inner tag is closed first.
- (a)
Question 3 · Multiple choice · 1 mark
Which code correctly shows a word in bold and italic?
- (a)
<B><I>Tura</B></I> - (b)
<B>Tura<I></B></I> - (c)
<I>Tura</B></I> - (d)
<B><I>Tura</I></B>
Answer: (d)
<B><I>Tura</I></B>The inner tag (I) is closed first.
- (a)
Question 4 · Multiple choice · 1 mark
In
<A HREF="page2.html">Next</A>, the reader clicks on the word- (a) Next
- (b) HREF
- (c) page2.html
- (d) A
Answer: (a) Next
The text between the tags is shown; HREF holds the address.
Question 5 · Assertion and reason · 1 mark
Assertion (A): HTML is called a markup language.
Reason (R): HTML uses tags to tell the browser how to display text.
- (a) Both A and R are true, and R is the correct explanation of A.
- (b) Both A and R are true, but R is not the correct explanation of A.
- (c) A is true, but R is false.
- (d) A is false, but R is true.
Answer: (a) Both A and R are true, and R is the correct explanation of A.
Marking up text with display tags is what makes it a markup language.
Question 6 · Short answer · 2 marks
What is HTML?
Answer
HyperText Markup Language: the markup language used to create web pages, using tags that tell the browser how to display text, pictures and links.
Question 7 · Short answer · 2 marks
What is the use of the START attribute of OL?
Answer
It gives the position from which the list starts counting, written as a number:
START="3"gives 3, 4, 5 (or C, D, E with TYPE A).Question 8 · Short answer · 3 marks
Write the code for an ordered list, numbered i, ii, iii, of three festivals: Wangala, Behdienkhlam, Shad Suk Mynsiem.
Answer
<OL TYPE="i"> <LI>Wangala</LI> <LI>Behdienkhlam</LI> <LI>Shad Suk Mynsiem</LI> </OL>Question 9 · Long answer · 5 marks
What is HTML? Explain tags, elements and attributes, and container and empty tags, with examples.
Answer
HTML (HyperText Markup Language) is used to create web pages. A tag is an instruction in angle brackets,
<B>; a closing tag has a slash,</B>. An element is opening tag + content + closing tag:<B>Tura</B>. An attribute gives extra information inside the opening tag:ALIGN="CENTER". Container tags enclose content (<P>…</P>); empty tags have no closing tag (<BR>,<IMG>).Question 10 · Long answer · 5 marks
Explain ordered and unordered lists with their attributes and an example of each.
Answer
UL makes a bulleted list; TYPE is DISC (default), CIRCLE or SQUARE. OL makes a numbered list; TYPE is 1, A, a, I or i, and START gives the starting position. Each item is written in LI. Example:
<UL TYPE="CIRCLE"><LI>Tea</LI></UL>and<OL TYPE="A" START="2"><LI>Rice</LI></OL>(shows B. Rice).
Study the whole chapter
16 step-by-step lessons, all 103 practice questions with hints, flashcards and mock tests for MBOSE Class IX Computer Science.