Professional Documents
Culture Documents
● BANDWIDTH REDUCTION,
- Style in CSS is accessed only once.
This reduce file transfer size,
resulting in faster loading time of a
web page.
● COMPATIBILITY,
- Web browsers have their own Q3 - L3 Exploring CSS
built-in styles, yet, they are (Color Coding in CSS)
designed to render CSS. CSS
- A color coding system is applied to
increases our website’s adaptability
each part of the CSS codes: blue for
to be viewed by more visitors on
selectors, gray for properties, and
their chosen web browsers.
black for special characters and
values.
● ACCESSIBILITY,
- Mobile devices are common
nowadays. With a few codes
using CSS, a website can be viewed
using any preferred devices.
How to save a file:
(CSS SYNTAX)
- A selector is the HTML element that
we want to style.
- A declaration consist of a set of a
property and its value that are
separated by a colon”:”, it
intends with a semicolon “;”.
- Declaration block are enclosed by
curly braces “{ }”.
Organize Files:
- Organizing files can help in
accessing and retrieving files later
on.
Statements:
- Line continuation is implied inside
parentheses ( ), brackets [ ], and
braces { }.
Example:
A = ( 1 + 2 + 3 + 4 + 5)
- In using ( ), [ ], and { }, line
continuation is implied.
Example:
color_scheme = [‘red’, ‘blue’,
‘green’]
Indentation:
- Python uses indentation to define a
block of code.
- The amount of indentation, by
default, is four (4) spaces.
Comments:
- Comments describe what is going on
inside a program. To write a
comment, we use the
hash(#) symbol, three single or
double quotation (‘’’), (“””).