[Audio] CSS Cascading Style Sheets ICT: Website Creation Prepared by: Angelyn Vicente Sandro Peralta March 6 2026.
[Audio] Activity: Website Comparison. Activity: Website Comparison.
[Audio] Guide Questions: 1. Which website do you prefer to look at? 2. Why does the second website look more attractive? 3. What do you think is used to design or style a website?.
[Audio] Learning Objectives At the end of the lesson, students will be able to: Define CSS and its purpose in web design. Identify the basic structure of CSS syntax (selector, property, value). Differentiate the three types of CSS: Inline, Internal, and External. Apply basic CSS styles to an HTML example..
[Audio] What is CSS? CSS stands for Cascading Style Sheets. - It is used to design and format web pages written in HTML. - It controls colors, fonts, spacing, and layout..
[Audio] Why Do We Use CSS? - Adds colors to text and backgrounds - Changes fonts and text sizes - Controls layout and spacing - Improves the appearance of websites - Makes websites responsive.
[Audio] Basic CSS Syntax CSS works with selectors and declarations. Structure: selector Example p Explanation: p → selector (targets paragraph elements) color → property blue → value font-size → property 18px → value This code makes all paragraphs blue and 18 pixels in size..
[Audio] HTML with CSS Example <!DOCTYPE html> h1 p Welcome to My Website This is a paragraph styled using CSS. Output: The heading appears red and centered The paragraph text appears green with size 16px -The heading becomes centered and colored. - The paragraph text changes size and color..
[Audio] Types of CSS Inline CSS – applied inside an HTML element Hello Internal CSS – placed inside the tag in the section. External CSS – stored in a separate .css file and linked to HTML. Example:.
[Audio] Internal CSS Example Internal CSS is CSS written inside the tag in the section of an HTML document. It is used to style a single web page..
[Audio] Example 1: Basic Internal CSS <!DOCTYPE html> body h1 p My First Internal CSS Page This paragraph is styled using internal CSS..
[Audio] External CSS Example External CSS is a separate CSS file used to style one or more web pages written in HTML. The CSS code is saved in a .css file and linked to the HTML file. This method is commonly used because it allows multiple web pages to share the same design. ________________________________________.
[Audio] Step 2: Create the HTML File <!DOCTYPE html> External CSS Example Welcome to My Website This paragraph is styled using external CSS. Step 1: Create the CSS File (style.css) body h1 p.