Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Practice › Class 8 › Computer Science

Web pages with HTML: practice questions

Class 8 Computer Science. Ten questions with step-by-step answers, for CBSE and ICSE. Try each one before you open its answer.

Practise this with your AI tutorGo to the questions

Key ideas

  • Tags and structure.
  • These are the multi-step questions examiners like to set. Read each one twice, write down what you know, then plan before you calculate.
  • These go beyond the syllabus. Each one has a neat idea that makes it short; brute force is slow.

Read each question twice and say the answer out loud before you check it. For code or binary questions, work it out on paper step by step, the way a computer would.

Ten questions

  1. 1.An image is added with…

    1. A.<image>
    2. B.<img>
    3. C.<src>
    4. D.<pic>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: With a src attribute.

    Answer: <img>

  2. 2.An HTML file ends in…

    1. A..docx
    2. B..mp3
    3. C..html
    4. D..exe
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: Browsers open it.

    Answer: .html

  3. 3.The link address goes in the attribute…

    1. A.url
    2. B.link
    3. C.src
    4. D.href
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: <a href="…">.

    Answer: href

  4. 4.A numbered list is…

    1. A.<ol>
    2. B.<li>
    3. C.<nl>
    4. D.<ul>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: Ordered list.

    Answer: <ol>

  5. 5.A paragraph uses the tag…

    1. A.<p>
    2. B.<pg>
    3. C.<para>
    4. D.<text>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: p for paragraph.

    Answer: <p>

  6. 6.A bulleted list is…

    1. A.<ol>
    2. B.<ul>
    3. C.<bl>
    4. D.<list>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: Unordered list.

    Answer: <ul>

  7. 7.The visible page content goes inside…

    1. A.<head>
    2. B.<meta>
    3. C.<title>
    4. D.<body>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: head holds information about the page.

    Answer: <body>

  8. 8.A line break uses…

    1. A.<newline>
    2. B.<break>
    3. C.<br>
    4. D.<lb>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: It needs no closing tag.

    Answer: <br>

  9. 9.Tag for the largest heading is…

    1. A.<h1>
    2. B.<head>
    3. C.<h6>
    4. D.<big>
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: h1 to h6 shrink.

    Answer: <h1>

  10. 10.Comments in HTML look like…

    1. A.# note
    2. B.** note **
    3. C.// note
    4. D.<!-- note -->
    Show the answer

    Think: Rule out the ones you know are wrong.

    Work: The browser does not show them.

    Answer: <!-- note -->

Before you check an answer

  • Rule out the ones you know are wrong.

Questions students ask

What does Web pages with HTML in Class 8 Computer Science cover?
Tags and structure. These are the multi-step questions examiners like to set. Read each one twice, write down what you know, then plan before you calculate. These go beyond the syllabus. Each one has a neat idea that makes it short; brute force is slow.
How should I practise Web pages with HTML?
Read each question twice and say the answer out loud before you check it. For code or binary questions, work it out on paper step by step, the way a computer would. Try all ten questions on this page, then open the chapter in Gradient tuition for step-by-step lessons, a live experiment and an AI tutor who explains where you went wrong.
Is this for CBSE or ICSE?
The questions follow the Class 8 Computer Science syllabus shared by CBSE and ICSE / ISC, and suit most state boards too.

Stuck on one of these?

Gradient tuition teaches Web pages with HTML step by step, with experiments you can play with and an AI tutor who circles the part of the question you missed.

Open Web pages with HTML in tuition
Number systemsIntroduction to Python