Objective. Students mark up text content, hyperlinks with relative and absolute paths, images with descriptive alt text, data tables with proper thead/tbody/th scope, and accessible HTML forms with labels and input types.
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
HTML (HyperText Markup Language) is the skeleton of every web page. You use elements — opening tags, content, and closing tags — to describe what each piece of content is, not how it looks. Browsers and assistive technologies rely on that meaning.
Headings (`<h1>` through `<h6>`) create a document outline. Use one `<h1>` per page for the main topic, then nest lower headings in order. Do not skip levels just to get a certain size — use CSS for styling instead. Paragraphs use `<p>`. Inline emphasis uses `<strong>` (strong importance) and `<em>` (stress emphasis).
Lists come in two forms. An ordered list (`<ol>`) implies sequence — steps in a process. An unordered list (`<ul>`) groups items without a required order. Each item in either type is wrapped in `<li>`.
The anchor element `<a>` creates a hyperlink. Its `href` attribute holds the destination.
Always write link text that describes the destination. "Click here" is meaningless out of context; "View our service list" is not.
The `<img>` element is a void element (no closing tag). Its required attributes are `src` (file path) and `alt` (alternative text).
Alt text serves two purposes: it is read aloud by screen readers for users who cannot see the image, and it displays when the image fails to load. Write alt text that conveys the image's purpose in context. A photo of a technician at a workstation might get `alt="Technician connecting fiber-optic cables in a server rack"`. If the image is purely decorative (a colored divider line), use an empty alt attribute: `alt=""` — this tells assistive technology to skip it entirely. Never omit the `alt` attribute altogether; that forces a screen reader to announce the file name instead.
HTMLtables are for tabular data — information that has a meaningful row-and-column relationship. Never use tables just to create a visual layout.
A well-structured table includes:
The `scope` attribute is the primary accessibility mechanism for tables. Without it, a screen reader user navigating cell by cell cannot know which column or row a cell belongs to.
Forms collect user input. Every input must have an associated `<label>`. The connection is made with matching `for` and `id` attributes:
```html
<label for="email">Email address</label>
<input type="email" id="email" name="email" required>
```
Common input types and when to use them:
| Type | Use case |
|---|---|
| `text` | General short text |
| `email` | Email address (browser validates format) |
| `tel` | Phone number |
| `textarea` | Multi-line message |
| `select` / `option` | Choosing from a fixed list |
| `checkbox` | Binary yes/no or multiple selections |
| `submit` | Form submission button |
Using the correct `type` triggers the right keyboard on mobile, enables browser validation, and communicates purpose to assistive technology.
Tab-order navigation: by default, browsers move keyboard focus through interactive elements in source order when the user presses Tab. Test every form with keyboard only — no mouse — before submitting work. Every field must be reachable and usable without a pointing device. This is a WCAG 2.1 success criterion and a practical accessibility baseline.
Run your finished HTML through the W3C Markup Validation Service (validator.w3.org). Validation catches unclosed tags, duplicate IDs, missing required attributes, and other errors that may render differently across browsers or break assistive technology.
Digital workspace safety: Keep cables managed at your station to prevent trip hazards. Position your monitor at eye level and maintain a neutral wrist posture to prevent repetitive strain. Take brief breaks every hour — sustained focus on a screen without breaks contributes to eye strain and musculoskeletal fatigue, both recognized ergonomic hazards in computer-based trades.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.