TAWANATECHNOLOGY

Development

HTML (2024-2025).

19 LEARNING MODULES / TAWANA TECHNOLOGY

About this course

HTML stands for HyperText Markup Language. It’s the standard language used to create websites. In simple words:

What you will explore

Planning a web page

Identify a page’s audience, purpose and content sections before writing markup. Suggested practice: sketch a simple course page with headings, navigation and a clear next step.

Introduction to HTML

HTML (Hyper Text Markup Language) is the standard language used to create and design webpages. It structures content using elements (tags), which browsers interpret to display text, images, links, and more.

Tags and Attributes

Tags define HTML elements, e.g., <p>, <h1>, <img>.Attributes provide additional information about elements, e.g., <img src="image.jpg" alt="Sample">.

Browser and Editors

Browser and EditorsBrowsers (Chrome, Firefox, Safari) display HTML content.Editors like VS Code, Sublime Text, or Notepad++ are used to write HTML code.

Key HTML Elements

Key HTML ElementsImportant elements:Headings: <h1> to <h6>Paragraph: <p>Links: <a>Images: <img>Lists: <ul>, <ol>, <li>Divisions: <div>Forms: <form>

Using CSS in HTML

Using CSS in HTMLCSS (Cascading Style Sheets) styles HTML content. Ways to use CSS:Inline: <p style="color:red;">Text</p>Internal: <style> p { color: red; } </style>External: <link rel="stylesheet" href="style.css">

Creating Links in HTML

Use the <a> tag:href: destination URLtarget="_blank": opens link in new tab <a href="https://example.com">Visit Example</a>

Understanding <div>, Classes, and IDs

Understanding <div>, Classes, and IDs<div>: container element for grouping contentclass: used for styling multiple elementsid: unique identifier for one element

Adding Images in HTML

Use the <img> tag:src: image pathalt: alternative text (important for accessibility)<img src="image.jpg" alt="Description">

Favicons in HTML

Connect a page icon through appropriate document metadata and choose a clear small-size graphic. Suggested practice: test a fictional site icon in a browser tab.

Page metadata and browser previews

Explain the purpose of title, description and viewport metadata in a document head. Suggested practice: give two sample pages distinct titles and check their browser presentation.

HTML Comments and List Elements

HTML Comments and List ElementsComments: Not shown in the browserLists:Ordered list: <ol>Unordered list: <ul>List items: <li>

Tables in HTML

Tables in HTMLUsed to display data in rows and columns:<table> <tr><th>Name</th><th>Age</th></tr> <tr><td>Alice</td><td>25</td></tr></table>

Padding and Margin

Distinguish padding from margin and use spacing consistently in the box model. Suggested practice: align sample course cards without adding repeated empty markup.

HTML Colors

HTML ColorsColors can be defined by:Name: red, blueHEX: #FF0000RGB: rgb(255, 0, 0)HSL: hsl(0, 100%, 50%)

Semantic Elements in HTML

Semantic Elements in HTMLSemantic elements clearly describe their meaning:<header>, <footer>, <article>, <section>, <nav> They help with SEO and accessibility.

HTML Forms and input fields and types

HTML Forms – StructureForms collect user inputInput Fields in HTML FormsCommon input fields:Text: <input type="text">Password: <input type="password">Email: <input type="email">Submit: <input type="submit">Types of Inputs in HTMLMore input types:textnumberrangecolordatecheckboxradiofile

Multimedia in HTML

Choose suitable media controls, descriptions and loading behaviour for embedded content. Suggested practice: create a simple lesson page with an accessible media placeholder.

Final HTML Project

Final HTML ProjectA project combines everything learned: Example:Header, navigationImage galleryForm (contact)Embedded YouTube videoSemantic layout with CSS styling

Course outlines are adapted from the existing academy catalogue. Vendor versions, prerequisites, fees and schedules should be confirmed with Tawana before enrolment. Security exercises are for authorised training environments.