By the end of this chapter, you will be able to:
Mastering these skills will help you build strong, professional web pages that form the foundation of any website.
The foundation of web development lies in understanding the structure and language used to create web pages. For Computer Science professionals in Kenya, mastering HTML is essential for designing websites that serve diverse sectors such as education, finance, healthcare, and government services. This chapter introduces the fundamental concepts of HTML, providing a solid base for developing interactive and well-structured web pages. Understanding HTML terminologies is crucial for effective communication and implementation of web design projects in professional environments.
HTML, short for HyperText Markup Language, is the standard markup language used to create and design web pages on the World Wide Web. It defines the structure of a web document by using a series of elements that browsers interpret to display text, images, links, and other content. In Kenya’s growing digital economy, professionals at institutions such as the Kenya Revenue Authority or county government offices rely on HTML to build informative and user-friendly websites that facilitate public services.
HTML was first developed by Tim Berners-Lee in 1991 to facilitate the sharing of documents over the internet. Since then, it has evolved through various versions, with HTML5 being the current standard. HTML5 introduced new semantic elements, multimedia support, and improved APIs, enabling richer web experiences without relying heavily on external plugins. This evolution reflects the increasing demand for dynamic and accessible web content in sectors like education and banking across Kenya.
HTML acts as the backbone of every web page, providing the skeleton that holds content together. It works alongside CSS and JavaScript to create visually appealing and interactive websites. For example, at Nairobi Hospital’s online portal, HTML structures patient information and appointment schedules, while CSS styles the interface and JavaScript manages user interactions. Understanding HTML is fundamental before advancing to these complementary technologies.
Unlike programming languages that execute logic, HTML is a markup language that annotates text to instruct browsers how to display content. It uses tags to mark elements such as headings, paragraphs, images, and links. This distinction is important for developers in Kenya’s tech industry, where clear separation of content (HTML), presentation (CSS), and behavior (JavaScript) improves maintainability and scalability of web applications.
Proficiency in HTML enables Kenyan computer scientists to build accessible and responsive websites that meet local and international standards. For instance, SACCOs use HTML to create member portals that handle sensitive financial data securely. Moreover, knowledge of HTML enhances collaboration with designers and backend developers, ensuring seamless integration of front-end and server-side components.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter introduced the fundamental concept of HTML as the standard markup language used to create web pages. Key HTML terminologies were explained, including the document which serves as the container for web content, stylesheets that control the appearance of elements, elements themselves which structure the content, and attributes that provide additional information about those elements. The process of creating an HTML file was detailed, emphasizing the importance of the document type declaration for browser compatibility and the necessity of saving the file with a .html extension. Core HTML elements were explored, highlighting the roles of the element as the root, the
section for metadata, the<head><title><body><html> (1 mark) Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Functional computer with text editor installed | Plain A4 paper |
| Pen |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Functional computer with text editor installed | 1 Pc per Candidate |
| 2 | Plain A4 paper | 2 Sheets per Candidate |
| 3 | Pen | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Write a clear explanation of HTML | |||
| Launched text editor on computer (Award 2 marks for successful launch or zero) | 2 | ||
| Wrote a concise definition of HTML (Award 5 marks for correct definition or zero) | 5 | ||
| Described at least five HTML terminologies correctly (Award 3 marks for each correctly defined terminology or zero) | 15 | ||
| Provided appropriate examples for each terminology (Award 2 marks for each example up to 8 marks or zero) | 8 | ||
| Organized content logically and legibly on paper (Award 5 marks for clear presentation or zero) | 5 | ||
| Sub-Total | 35 | ||
| PRODUCT CHECKLIST | |||
| Explanation is accurate, covers HTML definition and at least five terminologies with examples (Award 10 marks for completeness and correctness or zero) | 10 | ||
| Sub-Total | 10 | ||
| GRAND TOTAL | 45 | ||
Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Functional computer installed with text editor | Plain paper |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Functional computer installed with text editor | 1 Pc per Candidate |
| 2 | Plain paper | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Create Basic HTML Document | |||
| Launched the text editor and created a new file named index.html (Award 2 marks for correctly launching editor and naming the file) | 2 | ||
| Added correct document type declaration <!DOCTYPE html> (Award 4 marks for correct and properly placed DOCTYPE declaration) | 4 | ||
| Created the root <html> element enclosing the entire document (Award 3 marks for correctly coding the <html> opening and closing tags) | 3 | ||
| Included the <head> section with a <title> element (Award 5 marks for correct <head> and <title> tags inside the document) | 5 | ||
| Created the <body> section with placeholder content (Award 4 marks for adding the <body> opening and closing tags with placeholder text) | 4 | ||
| Sub-Total | 18 | ||
| PRODUCT CHECKLIST | |||
| HTML file contains correct document type declaration and properly nested html, head, title, and body tags (Award 10 marks for correct structure, syntax, and file saved as index.html) | 10 | ||
| Sub-Total | 10 | ||
| GRAND TOTAL | 28 | ||
At the start of this chapter we promised you would be able to:
Tick each one you can genuinely do.
So, are you there yet?
You're competent when you can confidently do 50% or more of what this chapter promised.
Sign in to record how you're doing.