Page 71 - Code & Click - 7
P. 71
Experiential Learning
Lab Activity 2
To style text in a HTML document using text and font properties.
1. Open Notepad and create the HTML document as shown below.
2. Open the HTML document in Microsoft Edge.
SETTING MARGIN PROPERTIES
The Margin properties are used to set the margins of a web page. You can set margin values for the
top, bottom, left, and right margins around a web page.
The margin properties are described in the table given below.
Property Description Value(s) Example
Sets the bottom margin length margin-bottom:
margin-bottom
of an element (default value 0px) 5px
69