Lesson 2: HTML Fundamentals

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/55

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:14 AM on 8/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

56 Terms

1
New cards

What is the purpose of in an HTML document?

It tells the browser to render the page in standards mode.

2
New cards

What is the HTML document hierarchy?

A structured tree of elements with parent, child, and sibling relationships.

3
New cards

What is a parent element?

An element that directly contains another element.

4
New cards

What is a child element?

An element directly contained inside another element.

5
New cards

What are sibling elements?

Elements that share the same parent.

6
New cards

What is the purpose of HTML comments?

To add internal notes, temporarily disable code, or document the structure without affecting the webpage UI.

7
New cards

What are the basic HTML tags used to structure content?

Headings, paragraphs, and lists.

8
New cards

What are headings in HTML used for?

To organize content into levels of importance using

through

.

9
New cards

What is the purpose of paragraphs in HTML?

To structure blocks of text.

10
New cards

What is the purpose of HTML lists?

To organize related information into structured items.

11
New cards

What is an HTML attribute?

Additional information or configuration provided inside an element's opening tag.

12
New cards

Which attributes are commonly associated with images?

src and alt.

13
New cards

Which attribute specifies the destination of a hyperlink?

href.

14
New cards

What is the purpose of embedded elements such as images, audio, and video?

To place multimedia content directly into a webpage.

15
New cards

Why are semantic text

formatting elements preferred over purely visual formatting?

16
New cards

Which HTML elements are used for important and emphasized text?

for importance and for emphasis.
17
New cards

Which HTML elements are used for subscript, superscript, and blockquotes?

, , and
.
18
New cards

What is the purpose of grouping elements in HTML?

To organize related content and provide containers for CSS styling and JavaScript manipulation.

19
New cards

What are block

level elements?

20
New cards

What are inline elements?

Elements that generally flow within surrounding text or content.

21
New cards

What are

and commonly used for?

Generic containers for grouping content, styling with CSS, and manipulating with JavaScript.

22
New cards

Do generic grouping elements such as

and have intrinsic semantic meaning?

No, they primarily serve as containers.

23
New cards

What are the three main types of resource paths?

Absolute paths, relative paths, and root

24
New cards

What is an absolute path?

A complete URL identifying the full location of a resource.

25
New cards

What is a relative path?

A path that identifies a resource relative to the current document.

26
New cards

What is a root

relative path?

27
New cards

Why are correct resource paths important?

They ensure external stylesheets, JavaScript, images, audio, and video load correctly.

28
New cards

What is the main purpose of an HTML table?

To organize structured data into rows and columns.

29
New cards

Which HTML element creates a table row?

.
30
New cards

Which HTML element creates a table data cell?

.
31
New cards

Which HTML element creates a table header cell?

.
32
New cards

What is the purpose of , , and ?

They group table headers, main data, and footer information respectively.

33
New cards

Why is table grouping important?

It provides clearer structure and improves accessibility and organization.

34
New cards

What is the main purpose of an HTML form?

To collect and submit user input.

35
New cards

Which elements can be used to group related form fields?

and .
36
New cards

What is the purpose of

?

To group related form controls.

37
New cards

What is the purpose of ?

To provide a label or description for a group of related form controls.

38
New cards

What types of input can HTML forms collect?

Text, radio

39
New cards

When should radio buttons be used?

When the user should select one option from a group.

40
New cards

When should checkboxes be used?

When the user can select multiple options.

41
New cards

When should a dropdown/select control be used?

When the user needs to choose an option from a predefined menu.

42
New cards

When should a textarea be used?

When the user needs to enter multi

43
New cards

Why should form labels be linked to their inputs?

To improve accessibility and make forms easier to understand and use.

44
New cards

How are a

The label's for attribute should match the input's id.

45
New cards

Why are default values or other input attributes useful?

They improve the usability and behavior of form controls.

46
New cards

What are the four main stages of the webpage creation process?

Structure, Content, Media, and Interaction.

47
New cards

What happens during the Structure stage?

The DOCTYPE and core HTML hierarchy of , , and are established.

48
New cards

What happens during the Content stage?

Text formatting, semantic elements, and logical grouping are added.

49
New cards

What happens during the Media stage?

Correct resource paths are established and media or external resources are embedded.

50
New cards

What happens during the Interaction stage?

Tables and functional forms are created for data presentation and user input.

51
New cards

If you need to organize data into a grid of rows and columns, which HTML feature should you use?

A table.

52
New cards

If users need to select multiple options, which form control should you use?

Checkboxes.

53
New cards

If users must choose only one option, which form control should you use?

Radio buttons.

54
New cards

If you need to embed an image and ensure it loads correctly, what should you check?

The image's resource path and relevant attributes such as src and alt.

55
New cards

If you need to group several related form fields, which elements should you use?

and .
56
New cards

If you want to style or manipulate a group of elements without giving the group specific semantic meaning, which elements can you use?

or .