HTML Basics

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 (B)</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 (B)</p> Signup and view all the answers

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

<p style="color:#0000FF;">Header</p> (C) 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 (D)</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 (A)</p> Signup and view all the answers

Does the br tag insert a horizontal line?

<p>False (B)</p> Signup and view all the answers

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

<p>True (A)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser