0% found this document useful (0 votes)
9 views2 pages

Mod 5 PDF

Uploaded by

remon.youssef317
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Mod 5 PDF

Uploaded by

remon.youssef317
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Flashcards

Front: What are the three main components of web development? Back: HTML
(HyperText Markup Language), CSS (Cascading Style Sheets), and JavaScript.
Front: What is the purpose of CSS? Back: CSS styles HTML elements, improves
website appearance, usability, and accessibility, and allows for transformations,
transitions, and animations.
Front: Name the three methods to apply CSS. Back: Inline (within HTML tags),
Internal (within the HTML <head>), and External (in a separate CSS file linked to
HTML).
Front: What are the benefits of using CSS? Back: Reusable code, faster downloads,
easier maintenance, creative styles, and cross-browser compatibility.

Explain [Concept] in Simple Terms with Examples


What is CSS? CSS (Cascading Style Sheets) is a language used to style and layout
web pages. For example, while HTML creates the structure of a webpage, like
headings, paragraphs, or images, CSS makes the page look appealing by adding
colors, changing fonts, and creating layouts.
Example:
 Without CSS: A plain page with black text on a white background.
 With CSS: A page with styled headings, a colorful background, and
animations when you hover over buttons.
What are the Most Important Points I Need to Remember about [CSS]?
 CSS Purpose: Enhances the appearance and usability of web pages.
 Integration: CSS modifies HTML and cannot function independently.
 Application Methods: Inline, Internal, and External CSS.
 Importance of Style Guides: Ensures consistency across web designs.
 Advantages: Reusability, fast downloads, and broader creative potential.

Key Terms and Definitions


 CSS (Cascading Style Sheets): A language for styling HTML elements
(e.g., fonts, colors).
o Example: Styling a <p> tag to have red text using p { color: red; }.

 Inline CSS: CSS applied directly in the HTML tag.


o Example: <h1 style="color: blue;">Hello</h1>
 Internal CSS: CSS included in the <head> of an HTML document.
o Example:

o <head>

o <style>

o body { background-color: lightgray; }

o </style>

</head>
 External CSS: CSS written in a separate file linked to HTML.
o Example: <link rel="stylesheet" href="styles.css">

Quiz Questions about [CSS]


Multiple Choice:
1. What is the main purpose of CSS?
a) Create a website's structure
b) Style and format web content
c) Store website data
d) Ensure browser compatibility
Answer: b
2. Which method allows CSS rules to be reused across multiple HTML files?
a) Inline CSS
b) Internal CSS
c) External CSS
d) Embedded CSS
Answer: c
3. Which of the following is NOT an advantage of CSS?
a) Faster website downloads
b) Simplified HTML structure
c) Enhanced website interactivity
d) Consistent styling across pages
Answer: c

You might also like