HTML Review

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

1/99

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.

100 Terms

1
New cards

Which tag defines the largest heading?

<h1>

2
New cards

Which tag creates a paragraph?

<p>

3
New cards

What does HTML stand for?

HyperText Markup Language

4
New cards

What is the correct document type for HTML5?

<!DOCTYPE html>

5
New cards

Which tag contains metadata like the page title?

<head>

6
New cards

Which tag displays content in the browser window?

<body>

7
New cards

Which tag creates a line break?

<br>

8
New cards

Which tag draws a thematic horizontal line?

<hr>

9
New cards

Which tag creates a hyperlink?

<a>

10
New cards

Which attribute sets the link destination?

href

11
New cards

Which tag inserts an image?

<img>

12
New cards

Which attribute provides image source?

src

13
New cards

Which attribute describes an image for accessibility?

alt

14
New cards

Which tag makes text bold semantically important?

<strong>

15
New cards

Which tag italicizes and emphasizes text semantically?

<em>

16
New cards

Which element creates an unordered list?

<ul>

17
New cards

Which element creates an ordered list?

<ol>

18
New cards

Which element represents a list item?

<li>

19
New cards

Which tag creates a table?

<table>

20
New cards

Which tag defines a table row?

<tr>

21
New cards

Which tag defines a standard table cell?

<td>

22
New cards

Which tag defines a header cell in a table?

<th>

23
New cards

Which element groups table header content?

<thead>

24
New cards

Which tag is used for table body content?

<tbody>

25
New cards

Which tag groups table footer content?

<tfoot>

26
New cards

Which tag defines a division or section?

<div>

27
New cards

Which tag is an inline container?

<span>

28
New cards

Which element represents the main content?

<main>

29
New cards

Which tag defines a navigation section?

<nav>

30
New cards

Which tag defines self-contained content like a blog post?

<article>

31
New cards

Which element defines content indirectly related to the main content (sidebar)?

<aside>

32
New cards

Which tag defines the page footer?

<footer>

33
New cards

Which tag defines the page header?

<header>

34
New cards

What tag is used to add a comment in HTML?

<!-- comment -->

35
New cards

Which attribute gives a unique identifier to an element?

id

36
New cards

Which attribute groups elements for styling?

class

37
New cards

Which attribute allows inline CSS on an element?

style

38
New cards

Which tag links an external stylesheet?

<link rel="stylesheet" href="...">

39
New cards

Which tag contains internal CSS?

<style>

40
New cards

Which tag embeds JavaScript?

<script>

41
New cards

Which attribute opens a link in a new tab?

target="_blank"

42
New cards

What does the lang attribute set on <html>?

Page language

43
New cards

Which meta tag sets the character encoding to UTF-8?

<meta charset="UTF-8">

44
New cards

Which meta tag sets responsive viewport?

<meta name="viewport" content="width=device-width, initial-scale=1.0">

45
New cards

Which element creates a form?

<form>

46
New cards

Which attribute sets the form submission URL?

action

47
New cards

Which attribute sets the HTTP method for a form?

method

48
New cards

Which input type creates a password field?

type="password"

49
New cards

Which tag labels form controls for accessibility?

<label>

50
New cards

Which attribute connects <label> to an input?

for (label) + matching input id

51
New cards

Which input type creates a checkbox?

type="checkbox"

52
New cards

Which input type allows a single selection from options?

radio

53
New cards

How do you group radio buttons?

Same name

54
New cards

Which tag makes a dropdown list?

<select>

55
New cards

Which tag defines options inside <select>?

<option>

56
New cards

Which input type selects a date?

type="date"

57
New cards

Which attribute makes an input required?

required

58
New cards

Which attribute provides a hint inside an input?

placeholder

59
New cards

Which input type is for numeric input?

type="number"

60
New cards

Which tag groups form controls with a caption?

<fieldset>

61
New cards

Which element provides the caption for a <fieldset>?

<legend>

62
New cards

Which attribute disables a form control?

disabled

63
New cards

Which attribute makes an input read-only but submit its value?

readonly

64
New cards

Which tag is used for a multiline text input?

<textarea>

65
New cards

Which tag defines a line of code snippet inline?

<code>

66
New cards

Which tag preserves spaces and line breaks in blocks?

<pre>

67
New cards

Which tag is used for quotations that are block-level?

<blockquote>

68
New cards

Which element is for short inline quotes?

<q>

69
New cards

Which tag indicates contact information?

<address>

70
New cards

Which element represents a figure with an optional caption?

<figure>

71
New cards

Which element provides a caption for <figure>?

<figcaption>

72
New cards

Which tag embeds another HTML page?

<iframe>

73
New cards

Which element is used to embed audio?

<audio>

74
New cards

Which attribute on <audio> adds playback controls?

controls

75
New cards

Which element embeds video?

<video>

76
New cards

Which attribute makes media start automatically (use carefully)?

autoplay

77
New cards

Which attribute mutes a video?

muted

78
New cards

Which element is used for scalable vector graphics?

<svg>

79
New cards

Which element provides a scriptable drawing surface?

<canvas>

80
New cards

Which tag sets the page title in the browser tab?

<title>

81
New cards

Which attribute on <img> sets alternative image text?

alt

82
New cards

What is the correct way to force a non-breaking space?

&nbsp;

83
New cards

Which tag is used to define a description list?

<dl>

84
New cards

Which tag defines a term in a description list?

<dt>

85
New cards

Which tag defines the description in a description list?

<dd>

86
New cards

Which element is best for marking up navigation breadcrumbs semantically?

<nav>

87
New cards

Which attribute provides a tooltip on hover for many elements?

title

88
New cards

Which tag groups related options in a <select> ?

<optgroup>

89
New cards

Which input type lets users upload files?

type="file"

90
New cards

Which attribute provides an input’s initial value?

value

91
New cards

Which attribute on <form> prevents validation on submit?

novalidate

92
New cards

Which attribute on <input type="email"> hints the input format?

pattern

93
New cards

Which attribute limits the maximum length of text inputs?

maxlength

94
New cards

Which attribute specifies an image size hint for layout?

height/width

95
New cards

Which element is best for the page’s primary heading?

<h1>

96
New cards

Which tag is used to include a favicon?

<link rel="icon" href="...">

97
New cards

Which element provides machine-readable page info for SEO/social?

<meta>

98
New cards

Which tag indicates time or date content?

<time>

99
New cards

Which element wraps the whole HTML document?

<html>

100
New cards

Which tag improves accessibility by skipping to main content?

<a href="#main">Skip to content</a>