TVL Comprog11 q1 m12
TVL Comprog11 q1 m12
Livelihood
QUARTER
1 Computer Programming
Republic Act 8293, section 176 states that: No copyright shall subsist in
any work of the Government of the Philippines. However, prior approval of the
government agency or office wherein the work is created shall be necessary for
exploitation of such work for profit. Such agency or office may, among other things,
impose as a condition the payment of royalties.
MODULE
12 CSS Syntax
Introductory Message
Welcome to the Computer Programming for the ICT Module on CSS Syntax!
This module was collaboratively designed, developed and reviewed by educators from
Schools Division Office of Pasig City headed by its Officer-In-Charge Schools Division
Superintendent, Ma. Evalou Concepcion A. Agustin in partnership with the Local
Government of Pasig through its mayor, Honorable Victor Ma. Regis N. Sotto.
The writers utilized the standards set by the K to 12 Curriculum using the Most
Essential Learning Competencies (MELC) while overcoming their personal, social,
and economic constraints in schooling.
This learning material hopes to engage the learners into guided and independent
learning activities at their own pace and time. Further, this also aims to help learners
acquire the needed 21st century skills especially the 5 Cs namely: Communication,
Collaboration, Creativity, Critical Thinking and Character while taking into
consideration their needs and circumstances.
In addition to the material in the main text, you will also see this box in the body of
the module:
As a facilitator you are expected to orient the learners on how to use this module.
You also need to keep track of the learners' progress while allowing them to manage
their own learning. Moreover, you are expected to encourage and assist the learners
as they do the tasks included in the module.
For the Learner:
Welcome to the Computer Programming for the ICT Module on CSS Syntax!
The hand is one of the most symbolized part of the human body. It is often used to
depict skill, action and purpose. Through our hands we may learn, create and
accomplish. Hence, the hand in this learning resource signifies that you as a learner
is capable and empowered to successfully achieve the relevant competencies and
skills at your own pace and time. Your academic success lies in your own hands!
This module was designed to provide you with fun and meaningful opportunities for
guided and independent learning at your own pace and time. You will be enabled to
process the contents of the learning material while being an active learner.
Lesson- This section will discuss the topic for this module.
Post-test - This will measure how much you have learned from
the entire module. Ito po ang parts ng module.
EXPECTATION
PRE–TEST
Module 11 discussed how to use CSS and the use of three kinds of CSS.
LESSON
Before we have <font> </font> tag to add or change style to our webpage,
but that tag is not supported in HTML5 anymore and now it can be done with CSS
using style attribute.
<tagname style="property:value;">
Example: (the sample below sets the background color for a page to yellow)
Output:
Example: (the sample below sets the color for a text to red)
Output:
The font-size property defines the text size for a webpage. It can be done in
% (percent) or px (pixel).
Example: (Pixel)
Output:
Example: (Percent)
Output:
In font-size property the percent size is smaller than pixel size when it comes
to the same number.
Example:
Output:
Changing alignment of the text.
The text-align property defines the horizontal text alignment for a webpage.
Example:
Output:
CSS Color
Colors in CSS are specified by a valid color name like "red", RGB value like
"rgb(255, 0, 0)" and a HEX value like "#ff0000".
ACTIVITIES
2. Add Heading 1 and write the title of this module with white as text color.
3. For the content add paragraph use 20 pixel for text size and then write
your reflection/generalization about this lesson. Minimum of 5
sentences.
Rubrics:
10 15 20
There are 4 and There are 1-3 There are no
Code more coding errors. coding errors. errors.
10 20 30
Background, text Background, text Background, text
format and color format and color format, and color
usage are not the usage are slightly usage are exactly
Visual same with the given the same with the the same with the
Design instructions. given instructions. given instructions.
10 15 20
Total /50
*Answer the Worksheet number 12 and submit a soft copy/hard copy of your
completed activity to your subject teacher on the following meeting.
WRAP–UP
The lists below are the following properties which can be used to add or
change a style for a webpage, in one to sentence describe the use of each property.
1. background-color
2. color
3. font-family
4. font-size
5. text-align
VALUING
2. How will you use the knowledge you acquired in this module?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
POST TEST
KEY TO CORRECTION
B 5. A 5.
D 4. B 4.
C 3. D 3.
B 2. A 2.
A 1. C 1.
Pre-test: Post-test:
REFERENCES
Accessed July 13, 2020 11:30Am https://www.w3schools.com
Accessed July 13, 2020 12:00Am https://www.tutorialrepublic.com