Lesson 2: HTML Tags
9 Questions
2 Views

Lesson 2: HTML Tags

Created by
@justdoingmybest

Questions and Answers

The _______ element defines the most important heading.

h1

A paragraph always starts on a new line and is usually a block of text enclosed within _______ tags.

p

What command creates a non-breaking space in HTML?

&nbsp

To introduce line breaks between texts, use the _______ tag.

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

What type of list is enclosed with

tags?

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

What do nested lists in HTML create?

<p>A hierarchy of information</p> Signup and view all the answers

The _______ tag creates a horizontal line in an HTML page.

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

What defines an external link in HTML?

<p>A link to a file or webpage outside the site</p> Signup and view all the answers

What is an internal link in HTML?

<p>A link to a webpage within the same site</p> Signup and view all the answers

Study Notes

Engaging Webpage Design

  • Web designers use appropriate HTML tags to create visually appealing and dynamic webpages.
  • Elements such as text, tables, lists, images, colors, and multimedia (video and audio) enhance user engagement.

HTML Heading Elements

  • The <h1> tag indicates the most important heading, while the <h6> tag indicates the least important heading.

HTML Paragraph Element

  • The <p> tag denotes a paragraph, which always starts on a new line and typically represents a block of text.

Non-Breaking Space

  • The &nbsp; command is used to create additional space between text or to connect two words on the same line.

Line Break

  • The <br> tag is used to introduce line breaks between blocks of text, improving readability.

Definition List

  • Definition lists are created using <dl> tags; terms are defined within <dt> tags and their definitions are placed within <dd> tags.

Nested Lists

  • HTML allows for nested lists, which enable the organization of information hierarchically by incorporating lists within other lists.

Preformatted Text

  • The <pre> tag formats text in a fixed-width typeface, preserving whitespace and line breaks as originally typed in a text editor.

Horizontal Rule

  • The <hr> tag creates a horizontal line on a webpage, providing a visual separation between different content sections.
  • External Link: A link that points to a file or webpage outside the host site (e.g., linking to the "Republic of the Philippines").
  • Internal Link: A link that directs to a file or webpage within the same website (e.g., "Links to my projects").

Studying That Suits You

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

Quiz Team

Description

Explore the essential HTML tags that can enhance the design and functionality of your web pages. This quiz covers key elements such as headings, paragraphs, and multimedia integration, providing insight into how to create engaging and dynamic content. Test your knowledge of HTML and boost your web design skills!

More Quizzes Like This

HTML Page Structure Quiz
5 questions
Online Forms Design Quiz
6 questions

Online Forms Design Quiz

SleekMorningGlory avatar
SleekMorningGlory
HTML Tags
1 questions

HTML Tags

TruthfulWhistle avatar
TruthfulWhistle
Use Quizgecko on...
Browser
Browser