Lecture 3_PART 1_ Internet and Web Design (CUU)
Lecture 3_PART 1_ Internet and Web Design (CUU)
In Lecture 2, we covered the foundational aspects of HTML, including the basic structure of
an HTML document and common HTML elements such as headings, paragraphs, links,
images, and forms. Students learned how to create a simple web page and explored new features
introduced in HTML5, such as semantic tags and multimedia elements.
Materials Needed:
Computer with a text editor (e.g., Notepad++, VS Code) and a web browser.
Basic knowledge of HTML (from Lecture 2).
https://www.w3schools.com
Cloud-based platforms:
Attributes:
Cellpadding: Cell padding is the space between the cell edges and the cell
content. By default the padding is set to 0.
CSS is a web technology used to style and create presentable layouts for web pages.
Benefits of CSS
● Separation of concern: CSS separates the web content from presentation hence
allowing a better control of layouts, colors, fonts, and other properties.
● Saves time in web development: Can write CSS code once and use it in multiple
pages.
● Optimization: CSS enables writing less code, hence resulting in faster loading of
pages.
Better user experience: CSS allows making web pages more user friendly.
CSS Versions
CSS1: 1996 Release
CSS2: 1998 Release
CSS2.1: 2011 Release
CSS3: 2000s-2010s Release
CSS4: 2020-to date Ongoing Development.
CSS Syntax
In the Example:
<!-- h is the selector, curl bracket is a declaration block, color and text-align are
properties while blue and center are values -->
h{
color: red;
text-align: center;
Assignment 2:
Assignment Steps:
1. GitHub:
○ If you don’t have a GitHub account, sign up at GitHub.com.
○ After signing up, create a new repository named personal-webpage.
2. Netlify:
○ Sign up at Netlify.com if you don’t already have an account.
○ You’ll use this account to host your webpage after pushing the code to
GitHub.
Step 2: Add Your Personal Webpage to GitHub
Deliverables: