MBOSE Class X Computer Science · Chapter 6
HTML Structure, Text and Lists
Live nowLearn to build a simple web page in HTML, using tags for headings, paragraphs, text styles and different kinds of lists.
23 lessons · 110 practice questions
What this chapter covers
- What HTML is
- Characteristics
- Tags, elements and attributes
- Container and empty elements
- Document structure
- BODY attributes
- Headings, paragraphs, line breaks, rules
- Text formatting
- FONT and BASEFONT
- Comments
- MARQUEE
- Special characters
- Ordered, unordered, definition and nested lists
Key terms
- HTML
Meaning: HyperText Markup Language
- tag
Meaning: instruction in angle brackets
Example:
<B>- element
Meaning: opening tag + content + closing tag
Example:
<B>Hi</B>- attribute
Meaning: extra information in the opening tag
Example:
ALIGN="CENTER"- container element
Meaning: has opening and closing tags
Example:
<P>…</P>- empty element
Meaning: has only an opening tag
Example:
<BR>- head section
Meaning: holds the title and page information
Example:
<HEAD>- body section
Meaning: holds what is shown in the window
Example:
<BODY>- horizontal rule
Meaning: a line across the page
Example:
<HR>- superscript
Meaning: text raised above the line
Example: x²
- subscript
Meaning: text lowered below the line
Example: H₂O
- comment
Meaning: note not shown by the browser
Example:
<!-- -->
Important questions with answers
10 of the 110 questions on this chapter, solved.
Question 1 · Multiple choice · 1 mark
HTML stands for
- (a) Hyperlink Text Mode Language
- (b) High Text Making Language
- (c) HyperText Markup Language
- (d) Home Tool Markup Language
Answer: (c) HyperText Markup Language
Hypertext is text with links; markup means tags.
Question 2 · Multiple choice · 1 mark
The text in the
<TITLE>tag appears on the- (a) middle of the page
- (b) title bar of the browser
- (c) status bar
- (d) bottom of the page
Answer: (b) title bar of the browser
See Fig. 6.1.
Question 3 · Multiple choice · 1 mark
The attribute of
<HR>that sets its thickness is- (a) WIDTH
- (b) SIZE
- (c) LENGTH
- (d) HEIGHT
Answer: (b) SIZE
In pixels.
Question 4 · Multiple choice · 1 mark
The BEHAVIOR value that makes marquee text bounce back and forth is
- (a) BOUNCE
- (b) SLIDE
- (c) SCROLL
- (d) ALTERNATE
Answer: (d) ALTERNATE
SSLC 2025, Q33.
Question 5 · Assertion and reason · 1 mark
Assertion (A):
<BR>has no closing tag.Reason (R):
<BR>is an empty element.- (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.
Empty elements enclose no content.
Question 6 · Short answer · 2 marks
Differentiate
<P>tag and<BR>tag.Answer
<P>starts a new paragraph with a blank line and is a container tag;<BR>only breaks the line, with no blank line, and is empty.Question 7 · Short answer · 2 marks
Name the tag and attributes to show background silver and text magenta.
Answer
<BODY BGCOLOR="silver" TEXT="magenta">.Question 8 · Short answer · 3 marks
What are character entities? Give two examples.
Answer
Codes for characters with a special meaning in HTML:
<for the less-than sign and&for the ampersand ( for a space).Question 9 · Long answer · 5 marks
Write any five characteristics of HTML.
Answer
HTML is simple and easy to learn. It is platform independent and opens in any browser. It is not case-sensitive. It uses tags, mostly in pairs. It is free and supports links, images, audio and video.
Question 10 · Long answer · 5 marks
Write an HTML code with a centred heading "My School", a paragraph, a blue horizontal line, and a definition list of two terms.
Answer
<HTML> <HEAD><TITLE>My School</TITLE></HEAD> <BODY BGCOLOR="lightyellow"> <H1 ALIGN="CENTER">My School</H1> <P>Our school is in Shillong.</P> <HR SIZE="3" COLOR="blue"> <DL> <DT>Library <DD>A room full of books. <DT>Laboratory <DD>A room for experiments. </DL> </BODY> </HTML>
Study the whole chapter
23 step-by-step lessons, all 110 practice questions with hints, flashcards and mock tests for MBOSE Class X Computer Science.