Computer Programming Module 4 (.Net Technology) 2
Computer Programming Module 4 (.Net Technology) 2
Learner’s Material
COMPUTER
PROGRAMMING
(.net technology) 2
Module 4: Quarter 1 | 2ND SEMESTER
Topic: CSS MARGINS
1|CO
NAME OFMSTUDENT:
PUTER PROGRAMMING (.NET TECHNOLOGY)2 11 TVL ICT
Republic of the Philippines
DEPARTMENT OF EDUCATION
Region IV-A CALABARZON
PROVINCE OF BATANGAS
As JavaScript future developers, the sheer amount of stuff we're expected to know is enormous, and it
grows bigger every day.
With so many different languages, tools, and technologies competing for our time and attention, it can
be tough to figure out what to prioritize. Should we get better at TypeScript?
In my opinion, if we really want to maximize the things that we can learn in Javascript, one of the best things we
can focus on is CSS.
By the end of this lesson, you are expected to;
1. Identify different techniques in modifying margins of your web browser with Cascading Style Sheet;
2. Explore different margin properties in CSS; and
3. Demonstrate the proper steps in modifying margin- top, right, bottom, and left in the web browser
using CSS.
DIRECTION: Read the following statement and select the letter of the correct answer.
1. Margins, padding, html element height and width can be measured in %. What is %?
a. Percent
b. Pixels
c. Module
d. Length
2. Margins, padding, html element height and width can be measured in px. What is px?
a. Percent
b. Pixels
c. Module
d. Length
3. In which file are the details of the box model created and changed?
a. Style.css
b. Image folder
c. Index.html
d. Brackets
4. The CSS table property where can you specify values of top, bottom and middle
a. Vertical-align
b. Padding
c. Border
d. Margin
5. CSS table property specified in values of left, center, right and justify
a. Text-align=
b. Padding=
c. Border-spacing=
d. Vertical-align=
CSS Margins
The CSS margin properties are used to create space around elements, outside of any defined borders.
p.ex1 {
margin-left: inherit;
}
DIRECTION: Perform the following Task and provide screen shots of each entry
Open the website: www.w3schools.com
Open CSS Tutorial Tab and Click the CSS Background Tutorial
Perform the following tutorials;
1. Margins
2. Margin Collapse
DIRECTION: Read the following statement and select the letter of the correct answer.
1. Margins, padding, html element height and width can be measured in %. What is %?
a. Percent
b. Pixels
c. Module
d. Length
2. Margins, padding, html element height and width can be measured in px. What is px?
a. Percent
Which category in 21st Century skills do you think the core of our topic falls in? (Communication, collaboration,
creativity, critical thinking, productivity, leadership and technology literacy). Explain why.
RECORD YOUR VOICE FOR YOUR ANSWER AND SEND IT THRU MESSENGER (GROUP CHAT)