Page 98 - Computer - 7
P. 98
3. What is the use of font properties? Describe any three font properties.
4. Write in brief about the various properties used to style text in a web page.
5. What are border properties? Write any three border properties with examples.
Mind Stretching
1. Write the CSS properties used to perform the tasks given below in an HTML5 Critical Thinking
document:
(a) Set all margins of an element to 10 pixels. ________________________
(b) Set border thickness as medium. ________________________
(c) Set oblique style for the font. ________________________
(d) Set blue foreground colour for text. ________________________
(e) Set black shadow effect for text. ________________________
2. Arshi wants to create a web page in HTML5 and apply formatting to content using CSS. She wants
to specify all the CSS formats for the various elements in the HTML document itself. How can she
do so? Logical Thinking
3. Aditya has to create a web page for his school drama club. He wants to apply borders to various
sections of the web page. Which CSS properties he needs to specify to do so? Critical Thinking
Lab Work
A. Create a web page on Digital India. Format the web page according to the given instructions.
Computational Skills
• Add an appropriate background image for the web page.
• Use Times New Roman font with size 24 pixels, bold, and red colour for
headings.
• Use Calibri font with size 18 pixels in blue colour for paragraph text.
• Apply different border styles for each heading.
B. Create a web page on Precautions During Covid-19 Endemic. Format the web page as per your choice.
Creative Skills
DISCUSS
DISCUSS Communication Skills
Is applying CSS to HTML documents better than using the basic elements in HTML to format the content?
Discuss with your classmates.
TEACHER’S DESK
TEACHER’S DESK
Explain to the students, with sufficient examples, the use of various properties and their values in CSS to format
content of a web page created using HTML5.
96