HTML Basics: Structure, Tags, and Semantic Elements

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/51

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

52 Terms

1
New cards

What does HTML stand for?

HyperText Markup Language

2
New cards

What file extension is used for HTML documents?

.html or .htm

3
New cards

What is the purpose of the declaration?

It defines the document as an HTML5 document.

4
New cards

What is the root element of an HTML page?

5
New cards

What does the element contain?

Meta information about the HTML page.

6
New cards

What is the purpose of the

It specifies a title for the HTML page shown in the browser's title bar.

7
New cards

What does the element define?

The document's body, containing all visible content.

8
New cards

What does the

element represent?

A paragraph.

9
New cards

What are the three DTD flavors of HTML 4.01?

Strict, Transitional (Loose), and Frameset.

10
New cards

What is the difference between Strict and Transitional DTD?

Strict has a clean structure without presentational tags; Transitional allows deprecated presentational elements.

11
New cards

What does XHTML stand for?

Extensible HyperText Markup Language.

12
New cards

What is a key feature of XHTML 1.0?

It has stricter syntax rules, such as lowercase tags and properly closed elements.

13
New cards

What is a significant change introduced in HTML5?

A simplified Doctype with no more Strict/Loose/Frameset distinctions.

14
New cards

What are some new semantic elements added in HTML5?

,

15
New cards

What is the purpose of tags?

To define metadata about an HTML document for indexing and categorization.

16
New cards

What does the name='viewport' meta tag do?

It provides information on how the page will be rendered on different devices.

17
New cards

What does the tag hold?

All elements that are rendered in the browser.

18
New cards

What are block-level elements?

Elements that start on a new line and occupy the full width available, like

and

.

19
New cards

What are inline elements?

Elements that can be placed side-by-side.

20
New cards

What are the categories of elements inside the tag?

Text, Semantic, Presentational, Layout, List, and Table elements.

21
New cards

What is the purpose of the element?

To represent tabular data.

22
New cards

What does the element define?

A table row.

23
New cards

What does the element represent?

A table cell.

24
New cards

What is the function of the element in a table?

To provide a title or description for the table.

25
New cards

What is the significance of the

element?

It is used for quoting sections of text.

26
New cards

What does the element indicate?

Strong importance or emphasis on text.

27
New cards

What is the purpose of the element?

To emphasize text.

28
New cards

What is the purpose of layout elements in HTML?

Layout elements are used to structure or group content on a webpage without giving it specific meaning.

29
New cards

What are the primary layout elements used before HTML5?

(block-level) and (inline-level).

30
New cards

What new semantic layout elements were introduced in HTML5?

,

31
New cards

element?

element is a block element used for layout and visual design purposes.

32
New cards

What does the element do?

The tag is an inline container used to provide additional style on a specific group of text.

33
New cards

What are semantic elements?

Semantic elements describe their meaning to both the browser and the developer.

34
New cards

Name three semantic elements introduced in HTML5.

,

35
New cards

What is the purpose of text elements in HTML?

Text elements are used to define paragraphs and headings.

36
New cards

What are the levels of headings in HTML?

Levels of heading range from

to

.

37
New cards

What is the difference between

and

to

elements?

defines a paragraph, while

to

define headings of different levels.

38
New cards

What is the purpose of the

element?

The

element is used for long quotations.

39
New cards

What does the element represent?

The element is used for short inline quotations.

40
New cards

What is the function of the element?

The element is used to reference the title of a source.

41
New cards

What are the three types of lists in HTML?

Unordered list, ordered list, and description list.

42
New cards

What is an unordered list in HTML?

An unordered list creates a list of related items with no particular order, using non-numerical bullets.

43
New cards

What is an ordered list in HTML?

An ordered list creates a list of related items with a specific order, using numerical bullets.

44
New cards

What is a description list in HTML?

A description list is used to create a list of terms and their descriptions.

45
New cards

What elements are required to create a table in HTML?

, , and

elements.

46
New cards

What is the purpose of HTML character entities?

HTML character entities are used to display special characters or reserved characters on the screen.

47
New cards

What is the entity name for a non-breaking space?

 

48
New cards

What does the entity name < represent?

The less than symbol (<).

49
New cards

What does the entity name > represent?

The greater than symbol (>).

50
New cards

What does the entity name & represent?

The ampersand symbol (&).

51
New cards

What does the entity name © represent?

The copyright symbol (©).

52
New cards

What is the purpose of the


element?

The


element creates a thematic break (horizontal rule) in the content.

Explore top flashcards