HTML Basics Quiz
16 Questions
0 Views

HTML Basics Quiz

Created by
@GainfulOnyx8110

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does HTML stand for?

  • Hyper Text Markup Language (correct)
  • Hypertext Markup Language Advanced
  • Home Tool Markup Language
  • Hyperlinks and Text Markup Language
  • Who is responsible for making web standards?

  • Mozilla
  • Microsoft
  • The World Wide Web Consortium (correct)
  • Google
  • Which HTML element is used to define a paragraph?

  • (correct)
  • What is the correct HTML element to define a line break?

    <br> Signup and view all the answers

    How can you open a link in a new tab/browser window?

    Signup and view all the answers

    Which character is used to indicate an end tag?

    <p>/</p> Signup and view all the answers

    What is the correct HTML element to define a checkbox?

    Signup and view all the answers

    Which HTML element is used to group inline elements in a table?

    Signup and view all the answers

    What is the correct HTML for making a checkbox?

    <p>input type=&quot;checkbox&quot;&gt;</p> Signup and view all the answers

    What is the correct HTML for making a text input field?

    <p>input type=&quot;text&quot;&gt;</p> Signup and view all the answers

    What is the correct HTML for inserting an image?

    <p>img src=&quot;image.gif&quot; alt=&quot;MyImage&quot;&gt;</p> Signup and view all the answers

    What is the correct HTML for inserting a background image?

    <p>body style=&quot;background-image:url(background.gif)&quot;&gt;</p> Signup and view all the answers

    What is the purpose of an iframe in HTML?

    <p>To display a web page within a web page</p> Signup and view all the answers

    What do HTML comments start with?

    Signup and view all the answers

    What is the purpose of the alt attribute in HTML?

    <p>Specifies an alternate text for an image</p> Signup and view all the answers

    What is the correct doctype for HTML5?

    <p>!DOCTYPE html&gt;</p> Signup and view all the answers

    Study Notes

    HTML Basics

    • HTML stands for Hyper Text Markup Language.

    Web Standards

    • The World Wide Web Consortium (W3C) makes the Web standards.

    HTML Elements

    • The largest heading is defined by ``.
    • <br> is the correct HTML element for inserting a line break.
    • To add a background color, use ``.
    • <strong> defines important text, and <em> defines emphasized text.
    • The correct HTML for creating a hyperlink is <a href="http://www.w3schools.com">W3Schools.</a>.
    • To open a link in a new tab/browser window, use <a href="url">.

    HTML Syntax

    • / is the character used to indicate an end tag.

    HTML Tables

    • A table consists of </a>, , and elements.

    Lists

    • To make a numbered list, use </em></strong><strong><em>.
    • To make a bulleted list, use </em></strong><strong><em>.

    Form Elements

    • A checkbox is created with ``.
    • A text input field is created with ``.
    • A dropdown list is created with ``.
    • A text area is created with ``.

    Images

    • The correct HTML for inserting an image is <img src="image.gif" alt="MyImage">.
    • The correct HTML for inserting a background image is ``.

    iframes and Comments

    • An `` is used to display a web page within a web page.
    • HTML comments start with ``.

    Block and Inline Elements

    • Block elements are normally displayed starting a new line.
    • Inline elements are normally displayed without starting a new line.

    Document Structure

    • The `` element defines the title of a document.
    • The alt attribute specifies an alternate text for an image, if the image cannot be displayed.

    HTML5

    • The correct doctype for HTML5 is ``.
    • The `` element is used to specify a footer for a document or section.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge of HTML fundamentals, including its meaning, web standards, and basic elements.

    More Like This

    Use Quizgecko on...
    Browser
    Browser