Q1: Ict 10 (CSS) - Reviewer
Q1: Ict 10 (CSS) - Reviewer
Quarter 1
Reviewer | Sean & Justin
IO
describing the presentation of Web presented.
pages, including colours, layout, and - LANGUAGE – They needed
fonts, thus making our web pages something to complete the
C
presentable to the users. word.
➔ CSS is designed to make style - A system of
A
sheets for the web. It is independent communication.
of HTML and can be used with any
XML-based markup language. Now
let’s try to break the acronym:
N
Differences Between HTML,
A
- Cascading: Falling of Styles. CSS, and JS
- Style: adding designs/styling
AT
➔ HTML
our HTML tags.
- Structural Language:
- Sheets: Writing our style in
- Consider this as a
different documents.
structure of a human
&
body.
HTML
- Structure of a Website:
➔ HTML is a computer language - Heading,
S
➔ HTML forms the skeleton for all the basic structure of the
webpages that we happily hover website.
around these days. It provides them ➔ ▪ CSS
a structure. - Styling Language:
➔ The term HTML is an acronym for - Consider this as a
HyperText Markup Language. skin or color of
- HYPER – it means a link human body.
which lets you go from one - Style of Website:
webpage to another. - CSS gives color and
style to the website.
Information Communication Technology 10
Quarter 1
Reviewer | Sean & Justin
IO
- Motion of the Website:
- JavaScript gives motion and
logic to the website.
C
Domain Name
➔ A domain name is your website's
A
Difference Between Markup equivalent of a physical address. It
Language and Programming helps users find your site easily
Language
N instead of using its internet protocol
(IP) address.
A
➔ MARKUP LANGUAGE
- It is used to create structure.
AT
of text.
➔ Register
- Example:
➔ Pay
- HTML
S
➔ PROGRAMMING LANGUAGE
- It executes code one by one Creating a Website
IG
IO
wide web. for editing.
Other features:
- Cross-platform
C
Limitations of FREE Web
- 100% free
Hosting - Open-source code
A
➔ Limited space - By GitHub
➔ Not own domain name N - Heavy storage
➔ Low bandwidth
A
➔ Advertisements
Exploring Text
AT
program that you can use to type open windows and just display the
editor, and the others show/hide
O
IO
- User-friendly computers. It’s really easy to use for
- Open-source code basic users who just need a text file
- Developed by Adobe
C
opener or editor but also includes
- HTML, CSS, JavaScript some really advanced features for
- Color mode
A
those interested.
Other features:
N -
-
Color mode
Leading free multilanguage
A
text editor
- Almost has every
AT
programming language
- Debugging
- Open-source
- Active state
&
- Cross-system
➔ Sublime Text – It is a desktop - Auto-completion
application built using web
S
Other features:
- Free, although needs license
- Cross-platform
- Not open-source code
Notepad VS Notepad++
➔ Notepad – It is a simple text editor
tool that comes with windows by
default. It is one tool that is used by
every individual to write or edit text
Information Communication Technology 10
Quarter 1
Reviewer | Sean & Justin
files. It support almost all the ➔ 3. Privacy - Free pens are public by
languages and it saves the file with default. If students want to keep their
.txt extension. work private, they'd need a PRO
➔ Notepad++ – It is a free source code account.
editor which is a replacement of the ➔ 4. Dependency on Internet - Being a
notepad. It additionally supports web-based platform, students need
more languages. Tabbed a stable internet connection to use
documents, spell checker, file CodePen effectively.
comparisons, zooming and the find ➔ 5. Limited Hosting - While CodePen
IO
and replacement feature make it allows for the creation and testing of
much more attractive than the old projects, it's not a hosting solution for
traditional notepad. launching full websites. Pens are
C
meant for demonstration only.
Codepen.io
The <div> and
A
➔ CodePen is an online community for
testing and showcasing
N<span> tags
user-created HTML, CSS and
JavaScript code snippets. It
A
functions as an online code editor
Codepen.io
AT
div{background-color:red;}
➔ 1.Limited File Structure - Unlike a ➔ <span> tag – generic inline element,
O
support a complex file structure. element does not start a new line
Each Pen has sections for HTML, and only takes as much space on the
CSS, and JavaScript, but you can't page.
create multiple files or directories. - Example:
➔ 2.Performance - For larger projects, <p>I have<span
CodePen might not be as performant style=color:red;>
as a local development environment. <p><span id = “click”> click
It's best suited for smaller projects me <span>
and prototypes. ------------------------------------
.click me{color:blue;
Information Communication Technology 10
Quarter 1
Reviewer | Sean & Justin
text-decoration;
underline;cursor:pointer;}
CSS Display
Property
Types of CSS
Importance of Layout in Web
Inline CSS Design
➔ Layout defines the structure of the
➔ Useful for styling a single element
web page.
IO
➔ Done by using the style attribute
➔ It determines where the element sits,
➔ It directly affects the HTML element
how they interact, and how they
respond to different screen sizes.
C
Internal CSS ➔ A well-thought-out layout improves
user experience.
A
➔ Defined in the <head> section of the
HTML page, with <style> element
➔ “Embedded Style Sheet” N Display Property
➔ CSS Display Property allows you to
A
External CSS control how elements are displayed.
AT
➔ Change the look by using 1 file ➔ One of the most fundamental CSS
➔ The <link> element goes inside the Properties.
<head> section ➔ Influences the layout
&
IO
that tell the browser which HTML
elements should be selected to have
the CSS property values inside the
C
rule applied with them.
➔ A keyword used to define what
A
element/s to apply the style rule on.
N
A
AT
➔
&
➔
S
Element Selectors
O
➔
Information Communication Technology 10
Quarter 1
Reviewer | Sean & Justin
IO
multiple elements belonging to a
➔
particular class.
➔ Is defined by typing a period (.)
C
followed by the class name
A
➔ To refer to the class selector in a tag,
use the attribute "class" and set the
value to the class name. N
➔
A
Group Selectors
AT
➔
➔ When two or more selectors have the
same properties and values, a
comma (,) is used to separate the
&
➔
O
CSS ID Selectors
IG
IO
➔
C
A
N
A
AT
&
S
O
IG