HTML Basics
10 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the most commonly used heading tag in HTML?

  • h1 (correct)
  • h2
  • h3
  • h4
  • What does HTML stand for?

  • Hyper Text Markup Language (correct)
  • Home Tool Markup Language
  • Hyperlinks and Text Markup Language
  • Hyperlinks and Tool Markup Language
  • Which of the following is used to create a hyperlink in HTML?

  • link
  • a (correct)
  • href
  • hyperlink
  • Which HTML attribute is used to define inline styles?

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

    What is the purpose of the style attribute in HTML?

    <p>To apply inline styles to an element</p> Signup and view all the answers

    Which of the following is an example of an inline style?

    <p style="color:#0000FF;">Header</p> Signup and view all the answers

    What is the difference between the style attribute and a CSS class?

    <p>The style attribute is used for inline styles, while a CSS class is used for external styles</p> Signup and view all the answers

    Why would you use an inline style instead of a CSS class?

    <p>To apply a unique style to a single element</p> Signup and view all the answers

    Does the br tag insert a horizontal line?

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

    The h1 tag is used to define the most important heading.

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

    More Like This

    HTML Basics: Tags, Structure, and Forms
    18 questions
    HTML Tags
    1 questions

    HTML Tags

    TruthfulWhistle avatar
    TruthfulWhistle
    HTML Tags and Classifications
    10 questions

    HTML Tags and Classifications

    ProlificDoppelganger avatar
    ProlificDoppelganger
    Use Quizgecko on...
    Browser
    Browser