cmpnote blog provides Digital Technologies, Computer Science, Information Technology, and Data Processing lesson notes, along with other educational support materials including an interactive CBT portal.
Search This Blog
Web Design II - SSS 2 Digital Technologies note
Get link
Facebook
X
Pinterest
Email
Other Apps
Web Design II - SSS 2 Digital Technologies
WEB DESIGN II
Subject: Digital Technologies
Class: SSS 2
Term: First Term
Week: 9
Topic: Web Design II
Duration: 80 Minutes (Double Period)
1. Introduction
In the previous lesson, we learned about the basic structure of an HTML document and how CSS is used to style web pages. In this lesson, we will learn how to create a simple website containing more than one page, add text and images, create hyperlinks, design navigation menus, and apply CSS to improve the appearance of the website.
A website becomes more useful when its pages are connected and visitors can move easily from one page to another. For example, a school website may contain a home page, an about page, a contact page, and a page showing school activities.
2. Meaning of a Multi-Page Website
Definition: A multi-page website is a website made up of two or more web pages that are connected through links or navigation menus.
Each page usually has a particular purpose. The pages may share a common design, colour scheme, logo, and navigation menu.
Examples of pages on a school website
Home page: Introduces the school and provides links to other pages.
About page: Gives information about the school, its history, and its mission.
Activities page: Shows school events and extracurricular activities.
Contact page: Provides contact details and other ways to reach the school.
3. Creating and Organising Website Files
A simple website can be created using a text editor such as Notepad or a code editor. The files should be organised properly so that the browser can locate each page and its supporting resources.
For example, a school website may use the following folder structure:
In this example, each link points to a separate HTML file. The same navigation menu can be included on all the pages to make the website easier to use.
8. Applying CSS to a Website
Definition: CSS (Cascading Style Sheets) is a language used to control the appearance and layout of HTML elements.
CSS can be used to change text colours, background colours, font sizes, spacing, borders, and the arrangement of page elements.
Example of CSS rules:
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f4f6f8;
}
h1 {
color: #006633;
}
nav a {
display: inline-block;
margin-right: 15px;
color: #006633;
text-decoration: none;
}
nav a:hover {
text-decoration: underline;
}
The CSS above sets the page font and background, changes the main heading colour, and styles the navigation links.
Ways of applying CSS
Method
Description
Inline CSS
CSS is written inside an HTML element using the style attribute.
Internal CSS
CSS is written inside a <style> element in the HTML document's head section.
External CSS
CSS is saved in a separate .css file and linked to the HTML document.
For a multi-page website, external CSS is useful because the same stylesheet can be linked to several pages. This helps maintain a consistent design and makes changes easier.
9. Sample Multi-Page Website
The following is a simple home page that connects to an About page and a Contact page. Save it as index.html.
The About and Contact links will work when the corresponding about.html and contact.html files have been created in the same folder.
10. Advantages of Multi-Page Websites
Better organisation: Information can be grouped into separate pages.
Easy navigation: Visitors can move between related pages.
Improved readability: Each page can focus on a particular subject.
Consistent design: Shared CSS helps pages maintain the same appearance.
Easier maintenance: Information can be updated on the relevant page without changing every other page.
11. Class Activity
Using a text editor or code editor, create a simple school website with the following requirements:
Create three HTML files named index.html, about.html, and contact.html.
Add a heading and a paragraph to each page.
Create a navigation menu that links all three pages.
Add an image to the home page using the <img> tag.
Create a file named style.css and use it to style the headings and navigation links.
Open the home page in a browser and test all the links.
12. Summary
A multi-page website consists of two or more connected web pages. HTML is used to structure the content, add text and images, and create hyperlinks. Navigation menus help visitors move between pages, while CSS controls their appearance. Organising website files correctly and testing links and images are important steps in creating a functional website.
13. Evaluation Questions
What is a multi-page website?
State four examples of pages that may appear on a school website.
What is the function of the HTML <img> tag?
Differentiate between an internal hyperlink and an external hyperlink.
State three advantages of using external CSS on a multi-page website.
14. Assignment
Draw a simple diagram showing the file structure of a website containing a home page, an About page, a Contact page, a stylesheet, and an images folder.
Write the HTML code for a navigation menu linking index.html, about.html, and contact.html.
Explain the difference between inline CSS, internal CSS, and external CSS.
State three precautions to take when adding images and hyperlinks to a website.
15. Online Quiz
Answer the following five questions and click Submit Quiz to see your score.
Complete Computer Studies/ICT Curriculum Curriculum refers to the lessons and academic content taught in a nation, state, school or a specific course or program. This post contains a complete curriculum in Computer Studies as compiled by the Nigeria Ministry of Education. First, second and third terms scheme of work can be extracted from it. To access the curriculum simply click on the links below. ๐ข NEW DIGITAL TECHNOLOGIES CURRICULUM Looking for the new Digital Technologies Curriculum for JSS 1 to SS 3 ? We have prepared a new Digital Technologies curriculum hub containing the curriculum and scheme of work for JSS 1, JSS 2, JSS 3, SS 1, SS 2 and SS 3. Click below to access the new Digital Technologies curriculum. ๐ VIEW DIGITAL TECHNOLOGIES CURRICULUM JSS ONE CU...
Exam Practice Portal | CMPNOTE Exam Practice Portal An examination is a formal test designed to show your knowledge or ability in a particular subject. This section provides 90 objective questions covering the complete curriculum. ๐ Click here for Essay/Theory Questions ๐งฌ Basic Science ๐ป Computer / IT ๐ฑ Biology ๐ Accounting ๐ ️ Basic Technology ๐ผ Business Studies ⚽ P.H.E ๐️ Civic Education ๐ C.R.S ⚡ Physics ๐ Economics ๐ Geography ๐จ CCA ๐งบ Prevocational Studies ๐งช Chemistry ➕ Mathematics ๐ณ️ Government ๐ English Support CMPNOTE BLOG Help us keep these resources free for Nigerian students. GTB: 0229727053 | Name: Joseph Okolo Support through PayPal
Number Base System JSS 2 Topic: Number Base System Class: JSS TWO Number Base System A number base system is the collection of symbols and rules for representing both small and large numbers. There are many number systems used today, some are examined below. Types of Number Base Systems Binary Number System The Binary Number System is the number system in base 2. There are only two symbols (digits) in this system, which are 0 and 1. Octal Number System Octal or Oct means eight (8). Hence, the Octal Number System is a number system in base 8. There are eight (8) symbols used in this system: 0, 1, 2, 3, 4, 5, 6, and 7. Decimal or Denary Number System Decimal Number System is base ten (10). Ten symbols are used in this system: 0, 1, 2, 3, 4, 5, 6, 7, 8, a...
Comments
Post a Comment