Course Content
KM-01: Hypertext Markup Language (HTML) Basics
This module introduces learners to the foundational concepts required to begin working with HTML programming. It covers basic computer concepts, the introduction to HTML programming, suitable Integrated Development Environments (IDEs), Git and GitHub, problem-solving in programming, the life cycle for developing a solution, and an overview of the look and feel of a website. The module builds the learner’s understanding of the fundamentals of HTML as a programming language and prepares them for more detailed HTML document structure, styling, and practical web development work in later modules.
0/15
KM-02: HTML Programming Principles
This module builds on the foundational knowledge from KM-01 and focuses on the core principles of HTML programming. It introduces learners to the structure of an HTML document, including tags, elements, and attributes, and how these are used to organise and present content on web pages. The module also covers HTML data types, text formatting, tables, file and folder structures, and semantic organisation of content. In addition, learners are introduced to how web pages communicate with remote servers. By the end of this module, learners will have a solid understanding of how to create well-structured, readable, and functional HTML documents that form the backbone of web development.
0/21
KM-03: HTML and Cascading Style Sheets (CSS) Styling Principles
This module introduces learners to the principles of styling web pages using Cascading Style Sheets (CSS). While HTML provides the structure of a webpage, CSS is used to control the appearance, layout, and visual presentation. Learners will develop the ability to design visually appealing and user-friendly web pages by applying styling techniques such as colours, fonts, spacing, layouts, and responsive design. The module also introduces HTML forms, which are used to collect user input and are an important part of interactive web applications. By the end of this module, learners will be able to apply CSS styling principles to improve the readability, usability, and overall user experience of web pages.
0/7
KM-04: HTML Intermediate Programming Functionalities
This module builds on foundational HTML knowledge and introduces learners to more advanced and interactive web development features. Learners will explore how to create dynamic and interactive web pages using HTML5 functionalities and APIs, as well as how to work with multimedia, offline capabilities, and modern web technologies. The module focuses on improving user experience and preparing learners for real-world web development environments.
0/15
WM-01: Workplace Module
Introduction to Workplace Modules Workplace Modules are designed to ensure that learners: -Apply their skills in a real or simulated work environment -Demonstrate industry readiness -Perform tasks aligned with real job roles
0/1
HTML Programmer

Lesson Outcomes

After completing this lesson, learners will be able to:

  • Define adaptive user interfaces.
  • Explain the importance of responsive and adaptive design.
  • Identify techniques used to adapt interfaces to different devices.
  • Understand how CSS supports adaptive design.
  • Apply basic principles of adaptive user interfaces.

Overview

Users access websites on different devices such as:

  • Smartphones
  • Tablets
  • Laptops
  • Desktop computers

An adaptive user interface ensures that a website adjusts to different screen sizes and devices, providing a consistent and user-friendly experience.

This is a key part of modern web development.


1. What is an Adaptive User Interface?

An adaptive user interface is a design approach that allows a website to adjust its layout and content based on:

  • Screen size
  • Device type
  • Orientation (portrait or landscape)

It ensures that users can easily interact with the website regardless of the device they are using.


2. Importance of Adaptive Design

Adaptive design is important because it:

  • Improves user experience
  • Ensures accessibility across devices
  • Increases usability
  • Supports modern web standards

Without adaptive design, websites may appear:

  • Too small on mobile devices
  • Misaligned on different screens
  • Difficult to navigate

3. Responsive vs Adaptive Design

These two concepts are closely related.

3.1 Responsive Design

  • Adjusts layout fluidly using CSS
  • Uses flexible grids and media queries

3.2 Adaptive Design

  • Uses predefined layouts for different devices
  • Loads different designs based on screen size

Key Difference

  • Responsive → flexible and fluid
  • Adaptive → fixed layouts for specific devices

4. Techniques for Adaptive Interfaces

Several techniques are used to create adaptive user interfaces.


4.1 Flexible Layouts

Layouts that adjust based on screen size.

Examples:

  • Percentage-based widths
  • Flexible containers

4.2 Media Queries

Used in CSS to apply styles based on device characteristics.

Example:

 
@media (max-width: 600px) {
body {
background-color: lightblue;
}
}
 

4.3 Responsive Images

Images that scale according to screen size.

Example:

 
<img src="image.jpg" style="max-width: 100%;">
 

4.4 Viewport Meta Tag

Controls how a webpage is displayed on mobile devices.

Example:

 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 

5. CSS and Adaptive Design

CSS plays a major role in adaptive interfaces.

It allows developers to:

  • Control layout
  • Adjust styles for different screens
  • Apply responsive rules

Key CSS tools:

  • Media queries
  • Flexible units (%, em, rem)
  • Grid and layout systems

6. Importance of Adaptive User Interfaces

Adaptive interfaces are essential because they:

  • Ensure compatibility across devices
  • Improve usability
  • Enhance user satisfaction
  • Support mobile-first design

Key Notes

  • Adaptive user interfaces adjust to different devices and screen sizes.
  • Responsive design is flexible, while adaptive design uses fixed layouts.
  • Techniques include flexible layouts, media queries, and responsive images.
  • The viewport meta tag is important for mobile display.
  • CSS is used to control adaptive behaviour.
  • Adaptive design improves usability and user experience.
Scroll to Top