This Study Resource Was: Department of Education
This Study Resource Was: Department of Education
This Study Resource Was: Department of Education
Department of Education
REGION IV-A CALABARZON
SCHOOLS DIVISION OF BACOOR CITY
SHS IN SAN NICHOLAS III, BACOOR CITY
SAN NICOLAS III, CITY OF BACOOR, CAVITE
m
● What I need to know? Blended
e r as
Monday In this lesson you are expected to be able to Learning
co
Basic of Web • Understand the term Cascading Style
eH w
Development Sheets (CSS), their use and benefits. Learners are
8:00-10:00am • encouraged to
o.
Understand the structure of a CSS rule:
submit your
Computer
rs e selector and declaration (property, value)
outputs to our
ou urc
• Create, save a new CSS file Bacoor City
Programming 1
Learning
Management
o
Discussion
v i y re
Modular
Learning
CREATING A WEB PAGE USING
1. STYLES
ed d
Learning
(property, value)
Management
Th
Wednesday System
8:00am to
10:00am Learners if the
internet is
2. Using CSS unavailable,
• Create, save a new CSS file you can write
• Create, modify CSS rules: color, your answers
background, font. on a sheet of
• Attach an external CCS to a web paper and
page make sure the
Thursday properly
8:00am- indicated the
10:00am important
m
e r as
Rewrite the code below
co
eH w
_______________________________________
_______________________________________
o.
rs e _______________________________________
ou urc
_______________________________________
_______________________________________
_______________________________________
o
aC s
v i y re
Engagement
What is more?
Performance Task 3:
Write your HTML Document with the following
sh is
guidelines.
Th
• CSS
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
4. If you are finished in writing your codes
including debugging save it with the file
name “Q6Comprog-Performance Task
m
1.htm or html.
e r as
co
5. The file is needed to be uploaded in our
eH w
Bacoor City Brightspace LMS or kindly
o.
rs e submit the physical output to your
computer programming 1 teacher.
ou urc
Rubric:
Ability to apply the right code- 5
Ability to run and debug- 5
o
Ability to Present- 5
aC s
v i y re
Total points = 15
Assimilation
ed d
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
V. REFLECTION
• The learners, in their respective notebook, journal, or portfolio to write their
personal insights about the lesson learned by completing the phrases.
I understand that __________________________
m
e r as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
Republic of the Philippines
Department of Education
REGION IV-A CALABARZON
SCHOOLS DIVISION OF BACOOR CITY
SHS IN SAN NICHOLAS III, BACOOR CITY
SAN NICOLAS III, CITY OF BACOOR, CAVITE
COMPUTER PROGRAMMING 1
LECTURETTE
QUARTER 1 WEEK 6
STYLES
CSS Concepts
m
e r as
Understand the term Cascading Style Sheets (CSS), their use and benefits.
co
We use CSS to edit the HTML document's style. It is possible to define
eH w
elements layout through HTML itself, but the recommendation is to separate
o.
the elements definition fromthe layout definition.
rs e
ou urc
The main advantage of CSS is that it can define the style for all elements
in one spot, for example, it is possible to define in one spot the
background color for all website pages, while with HTML we need to
o
define it for each site separately. Other advantages of using CSS are
aC s
external.
ar stu
External approach: in this approach CSS definitions are located outside the
HTML document. This approach makes it possible to separate completely
the page content from the layout itself. CSS files are files that contain only
sh is
CSS definitions and have the extension " CSS ", for example mySite.css.
Th
The above example will define, that for the web page to which body this
definition isadded, it will have a red background color.
Inline: in this approach we define the style attribute within the element tags
to which wewant t to apply a specific style.
<p style = "color: red ; " > This is a paragraph . < / p >
In this case, only the color of this paragraph would be red.
We do not recommended this approach since it looses the above-mentioned benefits.
m
e r as
➢ Selector: this is the HTML element that we need to apply to a style
co
eH w
➢ Declaration: is the style that we want to apply to a
o.
certain element. Each declaration consists of 2 parts:
rs e
➢ Property: we use this attribute to add value (e.g., , background color)
ou urc
➢ Value: the value that we assign to an attribute.
o
Any declaration must be located within curly brackets and must end with „;“.
aC s
Therefore, the rule that defines that the background color of an HTML
v i y re
Using CSS
It will open a dialog box where we then need to do the following steps
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
➢ Click on " internal stylesheet " in Sheets and Rules section
➢ Then click on palette in upper left corner and select Linked stylesheet
m
➢ Click on Create stylesheet
e r as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
Create, modify CSS rules: color, background, font.
Click on CSS icon in the toolbar and then select a file. To demonstrate
functionality weselected the body element
m
e r as
co
eH w
o.
rs e
To define settings click on Create Style Rule.
ou urc
To select the background color click on Background and then on the box next to Color,
which will open a color menu.
o
aC s
v i y re
ed d
ar stu
sh is
Th
To define the font click on Text window where you can then select desired settings.
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
m
e r as
co
eH w
Once you have defined all settings, click on OK.
o.
rs e
ou urc
o
References:
aC s
v i y re
www.w3schools.com HTML
Open Society for Idea Exchange (Otvoreno društvo za razmjenu ideja - ODRAZI), Zagreb
ed d
ar stu
Prepared by:
RYAN E. ROY
sh is
Teacher II
Th
Checked by:
Dr. Alma A. Corpuz
Master Teacher II
Noted by:
Adorando R. Darvin
Principal II
_____________________________________________________________________________________________
School: SHS in San Nicholas III, Bacoor City
Address:
This study source Garnet by
was downloaded St.100000831507812
Green Valley, San
fromNicolas III, City on
CourseHero.com of10-29-2021
Bacoor, Cavite
02:55:17 GMT -05:00
Telephone No: (046) 236 5729
Email: [email protected]
https://www.coursehero.com/file/112097043/Quarter-1-Week-6-WHLP-Computer-Programming-1-1pdf/
Powered by TCPDF (www.tcpdf.org)