Any2Quiz
ICSE / 6 / Computer Studies

HTML – Basic Web Page Creation Quiz - ICSE Class 6 Computer Studies

Free practice quiz: HTML – Basic Web Page Creation (ICSE Class 6 Computer Studies). 51 multiple-choice questions with answers and explanations. Play online, no sign-up needed.

Play all 51 questions free

Sample questions

  1. What is the correct HTML tag for creating a hyperlink?

    1. <link>
    2. <a>
    3. <href>
    4. <hyperlink>
    Show answer

    Answer: B. <a>

    The `<a>` tag, which stands for anchor, is used to create hyperlinks to other pages or resources. The `href` attribute within the `<a>` tag specifies the URL of the page the link goes to.

  2. What does the `src` attribute in an `<img>` tag represent?

    1. The size of the image.
    2. The source URL or path of the image.
    3. The alignment of the image.
    4. The description of the image.
    Show answer

    Answer: B. The source URL or path of the image.

    The `src` attribute is essential for the `<img>` tag and specifies the path to the image file that will be displayed on the webpage. It can be a relative path or an absolute URL.

  3. What is the purpose of the `name` attribute in form input elements?

    1. To set the initial value of the input field.
    2. To provide a label for the input field.
    3. To identify the input field when the form data is submitted to the server.
    4. To control the visual appearance of the input field.
    Show answer

    Answer: C. To identify the input field when the form data is submitted to the server.

    The `name` attribute is essential for form submission. It assigns a name to the input field, which is used to identify the data entered by the user when the form is submitted. For example, if you have `<input type='text' name='username'>`, the submitted data will be sent as `username=entered_text`.

  4. Which tag is used to emphasize text, typically displaying it in italics?

    1. <i>
    2. <italic>
    3. <emphasis>
    4. <em:
    Show answer

    Answer: A. <i>

    The `<i>` tag is used to display text in italics. Similar to bolding, `<em>` also displays text in italics but semantically emphasizes it. For stylistic italics, `<i>` is the correct choice.

  5. What is the purpose of the `<dt>` tag within a definition list (`<dl>`)?

    1. To provide the definition of a term.
    2. To specify the term being defined.
    3. To mark the start of the definition list.
    4. To indent the definition.
    Show answer

    Answer: B. To specify the term being defined.

    The `<dt>` tag stands for 'definition term'. It is used within a `<dl>` element to specify a term that is being defined. The `<dd>` tag then follows to provide the definition for that term.

Take the full quiz

More quizzes

Browse all Computer Studies quizzes