In the previous lesson you left everything needed to build the new workshops page in notes/plan.md: its objective, its heading outline, the planned semantic elements, its place in the menu and two wireframes, one for mobile and one for desktop. Now the second phase of the process begins: turning the sketches into HTML and CSS. It is the phase where having planned shows most, because there are hardly any new decisions to make: you translate the ones in the plan. In this lesson you will create workshops.html from template.html, build its semantic skeleton with placeholder content, add "Workshops" to the menu on all eight pages of the site in the agreed order, and give it The Blue Cup's look by reusing the components and variables from styles.css and adding only the essential styles: a mobile-first grid for the workshop cards. You will finish by reviewing the design at three screen widths. The real content (text, photos, video, dates) will arrive in the next lesson: here what matters is that the structure is solid.
Contents
- From wireframe to HTML: the method
- Starting from
template.html - The semantic skeleton of
workshops.html - The semantic decisions, one by one
- The new menu on all eight pages
- Visual consistency: reuse before you create
- The new styles: the workshops grid
- Reviewing the design at three widths
- Project:
workshops.htmllaid out with placeholder content
From wireframe to HTML: the method
Going from a sketch to code follows an order that avoids most mistakes. It is the same order in which you have learnt the course, applied to a single page:
graph TD
A["1. Heading outline<br/>(from the plan)"] --> B["2. Page regions<br/>header, nav, main, footer"]
B --> C["3. Content blocks<br/>article, section, aside"]
C --> D["4. Placeholder content<br/>marked as such"]
D --> E["5. Validate the HTML<br/>before writing CSS"]
E --> F["6. Reuse existing<br/>styles"]
F --> G["7. Minimal new styles<br/>mobile-first"]
G --> H["8. Review at three widths"]
- First the content and its structure, then the appearance. If you start with the CSS, you'll end up choosing elements according to how they look (Introduction to Semantic HTML).
- Placeholder content is marked. Filler text that looks final ends up getting published. In this project, everything provisional starts with
[Placeholder], which is easy to find withCtrl+Fbefore publishing. - You validate before styling. A nesting error produces strange effects in the CSS that people try to "fix" with more CSS. With valid HTML, the CSS behaves as you expect.
Don't use filler text such as lorem ipsum for a page with specific content. A
[Placeholder] Date, time and frequencyreminds you what has to go there, and helps you estimate how much space the real text will take up.
Starting from template.html
In HTML Best Practices you created template.html precisely for this moment. Copy the file and rename it workshops.html (in VS Code: right-click on template.html → Copy, right-click on the folder → Paste, and then Rename). Then deal with the CHANGE comments one by one, using the details from the page's fact sheet in notes/plan.md:
| Template element | Value in workshops.html |
|---|---|
title |
`Bakery workshops |
meta name="description" |
Sourdough bread-making and latte art workshops at The Blue Cup: dates, prices, places and online booking. |
link rel="canonical" |
https://thebluecup.example/workshops.html |
og:title |
The Blue Cup's bakery workshops |
og:description |
Learn to make sourdough bread or to draw in the foam on your coffee. Small groups. |
og:url |
https://thebluecup.example/workshops.html |
og:image and og:image:alt |
For now, the template's generic ones; the page's own image will arrive in Adding Content and Media |
Delete each CHANGE comment as soon as you've dealt with it: if they stay, next time you won't know whether they're still pending. The page doesn't need its own scripts or a preconnect (the video will be a file of our own, not an external service), so also delete the two convention comments you added in Performance and Resource Loading.
The semantic skeleton of workshops.html
This is the complete body with placeholder content. The head is the template's, with the changes from the previous table.
<body>
<a class="skip-link" href="#content">Skip to content</a>
<header>
<p class="logo">
<a href="index.html">
<img src="img/logo.png" srcset="img/logo-2x.png 2x" alt="The Blue Cup home page" width="180" height="60">
</a>
</p>
<nav aria-label="Main menu">
<ul class="menu">
<li><a href="index.html">Home</a></li>
<li><a href="menu.html">Menu</a></li>
<li><a href="workshops.html" aria-current="page">Workshops</a></li>
<li><a href="bookings.html">Bookings</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="news.html">News</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main id="content">
<h1>Bakery workshops</h1>
<p>[Placeholder] Introduction: what the workshops are, who they are for and why the groups are small.</p>
<p>On this page:</p>
<ul class="page-index">
<li><a href="#bread-workshop">Sourdough bread-making workshop</a></li>
<li><a href="#latte-art-workshop">Latte art workshop</a></li>
<li><a href="#dates">Upcoming dates</a></li>
<li><a href="#video">Latte art workshop video</a></li>
</ul>
<div class="workshop-list">
<article id="bread-workshop" class="workshop">
<h2>Sourdough bread-making workshop</h2>
<!-- Workshop photo: arrives in "Adding Content and Media" -->
<dl class="fact-sheet">
<dt>When</dt>
<dd>[Placeholder] Frequency and times</dd>
<dt>Price</dt>
<dd>[Placeholder] Price per person</dd>
<dt>Places</dt>
<dd>[Placeholder] Maximum number of places</dd>
<dt>Led by</dt>
<dd>[Placeholder] Person leading it</dd>
</dl>
<p>[Placeholder] Description of the workshop in two or three sentences: what you learn and what each participant takes home.</p>
<p><a class="btn" href="bookings.html">Book a place on the bread-making workshop</a></p>
</article>
<article id="latte-art-workshop" class="workshop">
<h2>Latte art workshop</h2>
<!-- Workshop photo: arrives in "Adding Content and Media" -->
<dl class="fact-sheet">
<dt>When</dt>
<dd>[Placeholder] Frequency and times</dd>
<dt>Price</dt>
<dd>[Placeholder] Price per person</dd>
<dt>Places</dt>
<dd>[Placeholder] Maximum number of places</dd>
<dt>Led by</dt>
<dd>[Placeholder] Person leading it</dd>
</dl>
<p>[Placeholder] Description of the workshop in two or three sentences.</p>
<p><a class="btn" href="bookings.html">Book a place on the latte art workshop</a></p>
</article>
</div>
<section id="dates">
<h2>Upcoming dates</h2>
<p>[Placeholder] Table with the dates of both workshops up to March 2027.</p>
</section>
<section id="video">
<h2>Inside a latte art workshop</h2>
<p>[Placeholder] Short video with captions.</p>
</section>
<aside class="featured" id="gift" aria-labelledby="gift-title">
<h2 id="gift-title">Want to give a workshop as a gift?</h2>
<p>[Placeholder] How to give a place as a gift and a link to the contact page.</p>
</aside>
</main>
<footer>
<!-- The template's footer, unchanged -->
</footer>
</body>Go through the code from top to bottom:
- Skip link, header and footer: just as they come from the template. Nothing is touched, and that's the beauty of having one.
- Menu: seven links in the order from the plan; "Workshops" in third position and with
aria-current="page", because it is the current page (header, nav and footer). h1: matches the one in the plan and the beginning of thetitle.- "On this page" index: the same convention as in
menu.html(Special Links). Each link points to anidthat exists further down. div.workshop-list: a container with no meaning, used only to place the two cards in a grid. It is exactly the legitimate use ofdiv(Block and Inline Elements).- Two
article.workshopelements: each with its ownid(for the anchors and for linking to it from other pages), itsh2, its fact sheet and its booking link. dl.fact-sheet: the key details as term–description pairs.- Two
sectionelements (dates and video), each with itsh2andid. aside.featured: complementary content, with an accessible name viaaria-labelledby, like the offer on the home page and the newsletter on the news page (Accessibility Testing).
The semantic decisions, one by one
Each element on the page answers a question you already know how to ask yourself. This table gathers them together, with the lesson where each criterion was studied:
| Block | Element chosen | Question that justifies it | Alternative ruled out |
|---|---|---|---|
| Each workshop | article |
Does it make sense on its own, could it be shared or republished? Yes: the bread-making workshop's card makes sense outside the page | section: also valid, but article better expresses its independence (article, section and aside) |
| Container for the cards | div |
Does it add meaning? No, it is only there for the grid | section without a heading (incorrect); ul with li (valid, as in the gallery; here the cards are long and the div is simpler) |
| Workshop details | dl with dt/dd |
Are they name–value pairs? Yes: "Price" → "€25" | A two-column table (overkill for four details about a single item); paragraphs with strong (loses the relationship) |
| Calendar | section with table (arriving in the next lesson) |
Is it data compared in rows and columns? Yes: workshop, date, times, places | One list per workshop (doesn't allow comparison) |
| "Book a place" | a with the btn class |
Does it lead to another page? Yes: a link, even if it looks like a button (HTML Best Practices) | button (only for actions within the page or for submissions) |
| Gift | aside |
Is it complementary to the main content? Yes: it interests some people, not everyone | section (would integrate it into the main flow) |
The heading before the photo
In the wireframe, each workshop's photo appeared above the name. In the HTML, the h2 will go first and the photo (which you will add in the next lesson) straight after it. Why change the sketch?
- People using a screen reader jump from heading to heading (Accessibility Testing). If the
h2is first, when they jump to "Latte art workshop" they then hear everything that belongs to that workshop, photo included. If the photo goes first, it is left "dangling" at the end of the previous workshop in the reading order. - The heading as the first child of the
articlealso makes it clear, when reading the code, where each block begins. - Visually, a title above the photo works just as well.
It is an example of something normal in projects: the code refines the sketch. When that happens, update the wireframe in notes/plan.md so that the plan and the page don't contradict each other.
The link that looks like a button
The "Book a place…" link will look like a button because it is the main action of each card, but it is still an a: it leads to another page, it can be opened in a new tab and the screen reader announces it as a "link". Its text includes the name of the workshop: in a list of links (which screen readers can display separately), two identical "Book a place" links would be impossible to tell apart (Creating Hyperlinks).
The new menu on all eight pages
The menu is copied into every page. Adding "Workshops" means editing eight pages and the template:
| File | Change to the menu |
|---|---|
index.html, menu.html, bookings.html, gallery.html, news.html, contact.html |
Add <li><a href="workshops.html">Workshops</a></li> between Menu and Bookings. Each page's aria-current doesn't move |
privacy.html |
The same; this page has no aria-current because it isn't in the menu |
workshops.html |
It already has it, with aria-current="page" |
template.html |
The same as in privacy.html, with no aria-current |
In menu.html, for example, the menu ends up like this:
<ul class="menu">
<li><a href="index.html">Home</a></li>
<li><a href="menu.html" aria-current="page">Menu</a></li>
<li><a href="workshops.html">Workshops</a></li>
<li><a href="bookings.html">Bookings</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="news.html">News</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>To avoid mistakes, use VS Code's global search (Ctrl + Shift + F):
- Search for
<li><a href="menu.html": nine results should appear (eight pages and the template). - Open each result and paste the "Workshops" line just below it.
- Search for
href="workshops.html">Workshopsand check that nine results come up again. - Search for
aria-current="page": there should be seven results, one per menu page, each on its own link.
This is the repetitive work that, as you saw in HTML Best Practices, static site generators take care of: they write the header once and insert it into every page. With nine files it is still manageable; if your own project has twenty pages, now is the time to look into one.
Visual consistency: reuse before you create
A new page must look as if it belongs to the same site at first glance. The way to achieve that is to use what already exists before writing a single new rule. Go through styles.css section by section and note down what workshops.html inherits without you doing anything:
styles.css section |
What it gives workshops.html without touching anything |
|---|---|
| 1. Variables | Brand colours, fonts and corner radius |
| 2. Base | Background, maximum width of 64rem, fluid images, visible focus, skip link |
| 3. Typography and links | Headings in Georgia, line height, link and visited colours |
| 4. Header and menu | The whole header; the current page indicator under "Workshops" thanks to [aria-current="page"] |
| 5. Structure | Padding for main, blue footer |
| 6. Components | .featured for the gift aside; .page-index for "On this page" |
| 7. Tables | The dates table and .table-scroll (next lesson) |
| 8. Forms and buttons | The look of the buttons, which you will reuse for .btn |
The only things missing are the arrangement of the two cards, the look of each card and its list of details, and the link that looks like a button. Four small pieces. This is the sign of a well-organised stylesheet: a new page needs very little new CSS.
The rules for adding CSS without breaking consistency:
- Only variables for colours, fonts and radii. If you find yourself writing
#1f4e79, writevar(--color-brand). - Classes by function, as always:
.workshop,.fact-sheet,.btn, not.white-box. - Mobile-first with the project's breakpoints (30rem and 48rem). Don't invent a third unless the content calls for it.
- Each rule in its section: components in section 6, buttons in section 8.
The new styles: the workshops grid
- The cards and their grid (section 6, Components)
Add at the end of section 6:
/* Workshops (workshops.html) */
.workshop-list {
display: grid;
gap: 1.5rem;
margin-bottom: 2rem;
}
@media (width >= 48rem) {
.workshop-list {
grid-template-columns: repeat(2, 1fr);
}
}
.workshop {
display: flex;
flex-direction: column;
padding: 1rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background-color: var(--color-white);
}
@media (width >= 48rem) {
.workshop {
padding: 1.5rem;
}
}
.workshop h2 {
margin-top: 0;
}
.workshop > :last-child {
margin-top: auto;
margin-bottom: 0;
}What each rule does:
.workshop-listis a grid. On mobile,grid-template-columnsisn't defined, so there is a single column and the cards stack in the order of the HTML;gapseparates them. It is the same technique you used on the home page (Media Queries).- From 48rem, two equal columns. It is the breakpoint at which, according to the plan, the two cards fit with comfortable reading (about 28rem each).
.workshopis a card with the same border and radius as the reviews. Its columndisplay: flexdoesn't change its appearance, but it prepares the next trick. The padding grows on wide screens, as with thefieldsetelements..workshop h2loses its top margin: inside a card, the border already separates the title..workshop > :last-childwithmargin-top: autopushes the last element (the paragraph with the booking link) to the bottom of the card. In a grid, the two cards in a row have the same height (that of the taller one); without this rule, if one description is shorter, its button would sit higher than the other one. In a flex column, anautomargin absorbs all the remaining space. That way, the two buttons end up aligned at the bottom of their cards.
- The list of details (section 6)
.fact-sheet {
display: grid;
grid-template-columns: auto 1fr;
gap: 0.25rem 1rem;
margin: 0 0 1rem;
}
.fact-sheet dt {
font-weight: bold;
color: var(--color-brand);
}
.fact-sheet dd {
margin: 0;
}grid-template-columns: auto 1fr: two columns; the first as wide as the longest term ("Led by"), the second taking the rest.- The
dtandddelements place themselves, in order: the firstdtin the first column, itsddin the second, the nextdtin the row below… It works because each term has exactly one description. If adtever had twoddelements, the grid would go out of line: keep the one-to-one structure. gap: 0.25rem 1rem: little space between rows, more between columns..fact-sheet ddwith no margin: the browser indentsddelements by default (Lists), which isn't wanted here.- The terms in bold and brand blue: you already checked the contrast of blue on white (8.66:1) in Web Accessibility Basics.
- The link that looks like a button (section 8, Forms and buttons)
Instead of copying the button rules, extend the existing selectors to include the new class:
button,
.btn,
.btn:visited {
display: inline-block;
padding: 0.6em 1.25em;
border: 2px solid var(--color-brand);
border-radius: var(--radius);
background-color: var(--color-brand);
color: var(--color-white);
font-weight: bold;
text-decoration: none;
cursor: pointer;
}
button:hover,
.btn:hover {
background-color: var(--color-white);
color: var(--color-brand);
}- There are only two new properties in the rule:
display: inline-block(a link is inline; this way the vertical padding takes up real space) andtext-decoration: none(removes the link underline). On abuttonthey change nothing. .btn:visited: without it, the generala:visitedrule in section 3 would paint the text violet after the bookings page had been visited. With a class and a pseudo-class (0, 2, 0), it beatsa:visited(0, 1, 1), just as you did with.card:visitedin Styling HTML Elements..btn:hoveralso beats thea:hoverlink rule, which would apply a cream background.- Visible focus needs nothing: the base
:focus-visiblerule applies to any focusable element.
Why not
.card? It is the home page component for a whole clickable block ("Coming in a group?"). Here the card contains a lot of text and only the call to action is a link: if the whole card were a link, the screen reader would read all its content as the name of the link.
Reviewing the design at three widths
With the HTML and CSS ready, review the page in DevTools device mode (Introduction to Responsive Design) at three representative widths: a small mobile, a tablet and a desktop.
| Width | What to check | Expected result |
|---|---|---|
| 320 px (small mobile) | Menu, cards, fact sheet, button | Menu stacked with seven links; cards in one column; "When", "Price", "Places", "Led by" aligned on the left with their value alongside; the button text wraps onto two lines without overflowing; no horizontal scrolling |
| 768 px (tablet, 48rem) | Header, grid | The two cards side by side, the same height and with the buttons aligned at the bottom; the menu in a row may drop to a second line below the logo (seven links don't fit next to the logo at this width): this is the expected behaviour with flex-wrap |
| 1280 px (desktop) | Overall | The 64rem body centred on the grey background; logo and menu on one line; the cards with plenty of breathing space |
In addition, at any width:
- Press
Tabfrom the address bar: "Skip to content", logo, the seven menu links, index, "Book a place on the bread-making workshop", "Book a place on the latte art workshop"… The focus order follows the visual order. - Click each link in the index: the page scrolls down to the corresponding card or section.
- Zoom to 200% with
Ctrl++in a desktop window: the grid switches to one column (the query inremalso responds to zoom, as you saw in Media Queries). - Run the page through the Nu Html Checker: zero errors. And check
index.htmlandprivacy.htmlagain, whose menus you have changed.
If you aren't happy with the second line of the menu at 768 px, don't "fix" it by reducing the font size: the honest solution is to accept two lines or, in a larger project, to reorganise the navigation. A menu that's readable on two lines is better than one that's unreadable on one.
Project: workshops.html laid out with placeholder content
Go over the steps you have followed in this lesson and check that you have completed them:
workshops.htmlcreated fromtemplate.html, with its owntitle,description, canonical URL and Open Graph, and noCHANGEcomments.- Complete semantic skeleton: skip link, header with the menu and "Workshops" marked as the current page,
main#contentwithh1, index,div.workshop-listwith the twoarticle.workshopelements,section#dates,section#videoandaside#gift, and the template's footer. - Placeholder content marked with
[Placeholder]everywhere the real text is awaited. - Menu updated on all eight pages and in the template, with nine results in the global search and seven
aria-current. styles.css: in section 6, the.workshop-list,.workshopand.fact-sheetrules; in section 8,.btnadded to thebuttonselectors.- Review at 320, 768 and 1280 px, with the keyboard and with the validator.
notes/plan.mdupdated: the wireframe now has the heading before the photo, and in the content plan the page moves to "Laid out, awaiting content".
Project status after the lesson
| File | Changes |
|---|---|
workshops.html |
New: complete structure with placeholder content |
The seven previous pages and template.html |
Seven-link menu with "Workshops" in third position |
css/styles.css |
Section 6: .workshop-list (1 → 2 columns from 48rem), .workshop, .fact-sheet; section 8: .btn shares the button rules |
notes/plan.md |
Wireframe and status updated |
Common Mistakes and Tips
- Copying an existing page instead of the template. You would drag along another page's
aria-current, its canonical URL or its script. That's why you createdtemplate.html. - Missing a page when changing the menu. A different menu on a single page is disorienting and goes unnoticed. Count the results with the global search.
- Moving the
aria-currentwhen copying the line. When you paste "Workshops" intobookings.html, thearia-currentstays on "Bookings". Onlyworkshops.htmlhas it on "Workshops". - Duplicating CSS rules. If you copy the button rules into
.btn, the next time you change the colour of the buttons one of the two will be left behind. Extend the selector. - Using
buttonto go to another page. If it leads to a URL, it's a link, even if it looks like a button. - Hard-coding colours in the new rules. Always
var(--…). - Accepting the page with placeholder content. Before publishing, search for
[Placeholder]across the whole project: it must return zero results (you'll do this in Testing and Deployment). - Tip: validate the HTML before writing CSS. If a style behaves strangely, the problem is usually in the HTML.
Exercises
Exercise 1. Management suggests adding a third workshop, "Single-origin coffee tasting", on the last Thursday of every month. What would you change in the HTML and CSS of workshops.html so that three cards appear in a row on desktop? Bear in mind that on a tablet three columns would be too narrow.
Exercise 2. A colleague has laid out the fact sheet like this. Explain what problems it has and rewrite it with the structure from the lesson.
<div class="workshop">
<img src="img/bread-workshop-800.webp" alt="">
<h4>Bread workshop</h4>
<p><b>Price:</b> 25 €<br><b>Places:</b> 15</p>
<button onclick="location.href='bookings.html'">Book</button>
</div>Exercise 3 (your own project). Take the mobile wireframe of your project's home page (exercise 3 of Planning Your Website). Create your own template.html with your site's header, menu and footer, and from it build the semantic skeleton of the home page with [Placeholder] content. Write a table like the one in "The semantic decisions, one by one" with at least four blocks.
Solutions
Solution 1.
In the HTML, a third article inside div.workshop-list, with the same structure, its own id and a booking link with its own text:
<article id="tasting-workshop" class="workshop">
<h2>Single-origin coffee tasting</h2>
<dl class="fact-sheet">
<dt>When</dt>
<dd>[Placeholder] Last Thursday of every month</dd>
…
</dl>
<p>[Placeholder] Description.</p>
<p><a class="btn" href="bookings.html">Book a place on the coffee tasting</a></p>
</article>Also, a new link in the "On this page" index. In the CSS, keep two columns on tablets and only switch to three when there is room. The maximum width of the body is 64rem, so three cards of about 19rem only fit from that width:
This query goes after the 48rem one (in mobile-first, from smallest to largest). With three cards in two columns, the third sits alone on the second row, taking up half the width: that's acceptable. A third breakpoint is justified here because the content calls for it; note in the stylesheet's opening comment that it exists and what it is for. (And don't forget the plan: a new workshop means one more option in the booking form.)
Solution 2. Problems:
- A
divwhere anarticlebelongs. - The image before the heading; also,
alt=""is only correct if the photo is decorative, and here it probably conveys information.widthandheightare missing. - An
h4with no precedingh2orh3: a skipped level. On the workshops page, each workshop is anh2. - Name–value pairs with
bandbr: the relationship between "Price" and its value is lost. The right structure is adl. - The price is written the Spanish way, "25 €", with an ordinary space, so the symbol could end up alone on the next line; in English it is written "€25", with no space.
- A
buttonwithonclickto navigate: it isn't a link, it can't be opened in another tab, it mixes JavaScript into the HTML and its text, "Book", doesn't say what is being booked.
<article id="bread-workshop" class="workshop">
<h2>Sourdough bread-making workshop</h2>
<img src="img/bread-workshop-800.webp" alt="Participants kneading bread with Carmen in the bakery" width="800" height="600">
<dl class="fact-sheet">
<dt>Price</dt>
<dd>€25 per person</dd>
<dt>Places</dt>
<dd>Up to 15</dd>
</dl>
<p><a class="btn" href="bookings.html">Book a place on the bread-making workshop</a></p>
</article>Solution 3. Open answer. Check in your solution that:
- The template has
lang,charset, viewport,titleanddescriptionmarked withCHANGE, a skip link, anavwitharia-label,main id="content"andfooter, and noaria-current. - The home page has a single
h1, no skipped levels, and its heading outline reads like a table of contents. - Each block in the table justifies its element with a question (can it be republished? would it appear in an index? is it complementary? is it tabular data?) and mentions an alternative that was ruled out.
- All text that isn't final starts with
[Placeholder]. - The page validates without errors before you write the CSS.
Conclusion
In this lesson you have gone through the second phase of the project: from wireframes to code. You have followed an orderly method (headings, regions, blocks, placeholder content, validation, reuse and new styles), you have created workshops.html from the template and you have justified each semantic element: an article per workshop inside a layout div, the key details in a dl, section elements for the dates and the video, an aside for the gift and links that look like buttons but are still links. You have seen that the code can improve on the sketch (the heading before the photo) and that, when it does, the plan is updated. You have added "Workshops" to the menu on all eight pages and the template without missing any, and you have seen that a well-organised stylesheet lets you dress a new page with very little CSS: a mobile-first grid, a card with the button aligned at the bottom, a list of details in two columns and a .btn class that shares its rules with the buttons. The page already has its final shape, but it says [Placeholder] almost everywhere. In the next lesson, Adding Content and Media, you will fill it with real content: the text and details of the two workshops, the table of upcoming dates, the photos, a video with captions, the structured data and the share image; and you will take the opportunity to close the content-related pending items that the rest of the site was still carrying.
HTML Course
Module 1: Introduction to HTML
- What Is HTML?
- Setting Up Your Work Environment
- Basic Structure of an HTML Document
- Tags, Elements and Attributes
- Creating Your First HTML Page
- File Organisation and Paths
Module 2: Text Formatting in HTML
- Headings and Paragraphs
- Text Formatting Tags
- Lists: Ordered, Unordered and Description Lists
- Block Quotes and Preformatted Text
- Block and Inline Elements: div and span
Module 3: Links and Media in HTML
- Creating Hyperlinks
- Special Links: Anchors, Email, Phone and Downloads
- Adding Images
- Embedding Videos
- Using the Audio Element
Module 4: Tables in HTML
- Basic Table Structure
- Table Head, Body and Foot
- Merging Cells: colspan and rowspan
- Accessible Tables: caption, scope and headers
- Styling Tables
Module 5: Forms in HTML
- Creating a Basic Form
- Form Elements: input, textarea and select
- HTML5 Input Types
- Labels and Grouping: label, fieldset, legend and datalist
- Form Attributes and Validation
- Submitting Forms
Module 6: HTML5 Semantic Elements
- Introduction to Semantic HTML
- header, nav and footer
- article, section and aside
- main and figure
- Other Semantic Elements: time, address, details and dialog
Module 7: Advanced HTML Techniques
- HTML Entities
- Using iframes
- Data Attributes
- Metadata: meta, SEO and Open Graph
- Microdata and Structured Data
- Graphics in HTML: SVG and canvas
Module 8: Integrating HTML and CSS
- Linking CSS to HTML
- Inline, Internal and External CSS
- Basic CSS Selectors
- The Box Model
- Styling HTML Elements
- Introduction to Layout with Flexbox and Grid
Module 9: Responsive Web Design
Module 10: Best Practices and Accessibility
- HTML Best Practices
- Validating HTML Code
- Web Accessibility Basics
- Using ARIA Roles and Attributes
- Accessibility Testing
- Performance and Resource Loading
