HTML Review
HTML Review
Review the concepts below to prepare for the upcoming prep exam.
HTML Basics
div elements: The div element is a generic HTML element that does
not hold any semantic meaning. It is used as a generic container to
hold other HTML elements.
Multimedia Integration
</form>
value attribute: used to specify the value of the input. If the input
has a button type, the value attribute can be used to set the button
text.
min attribute: can be used input types such as number to specify the
minimum value allowed in the input field.
max attribute: can be used input types such as number to specify the
maximum value allowed in the input field.
type="text"
id="name"
name="name"
size="20"
minlength="5"
maxlength="30"
required
/>
<input
type="number"
id="quantity"
name="quantity"
min="2"
max="10"
disabled
/>
for attribute: used to specify which input field the label is for.
<label>
Full Name:
</label>
</form>
<form action="">
</form>
<fieldset>
<label for="yes-option">Yes</label>
</fieldset>
<fieldset>
<legend>
Why did you choose to stay at our hotel? (Check all that apply)
</legend>
<label for="location">Location</label>
<label for="price">Price</label>
</fieldset>
<table>
<caption>Exam Grades</caption>
<thead>
<tr>
<th>Last Name</th>
<th>First Name</th>
<th>Grade</th>
</tr>
</thead>
<tbody>
<tr>
<td>Davis</td>
<td>Alex</td>
<td>54</td>
</tr>
<tr>
<td>Doe</td>
<td>Samantha</td>
<td>92</td>
</tr>
<tr>
<td>Rodriguez</td>
<td>Marcus</td>
<td>88</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>78</td>
</tr>
</tfoot>
</table>
HTML Tools
DOM inspector: A tool that allows you to inspect and modify the
HTML structure of a web page.
Devtools: A set of web developer tools built directly into the browser
that helps you debug, profile, and analyze web pages.
Introduction to Accessibility
Importance of good link text: You should use descriptive link text to
help users understand the purpose of the link. This helps assistive
technologies understand the purpose of the link.
Assignment
Submit
Beta
0 / 10used queries