Page 60 - modular_v2.0_HTML&_CSS_Fb
P. 60
Recap
HTML can define up to 6 levels of headings from H1 to H6.
The <P> tag defines the start and end of a paragraph in the text.
The <HR/> tag is used when you want to divide your web page into different sections.
The <BR/> tag is used when you want to start a new line, but do not want to start a new paragraph.
The <B> tag is used to make the text bold.
The <I> tag is used to make the text slanted.
The <SUP> tag is used to turn the enclosed text into a superscript.
The <SUB> tag is used to turn the enclosed text into a subscript.
The FONT properties are used to change the certain properties such as font size, font family
and font style of a block of text.
Exercise
A. Tick ( ) the correct option.
1. Which CSS property can be used to change the width of <HR/>?
a. HEIGHT c. BORDER-WIDTH
b. WIDTH d. LINE-WIDTH
2. Which of the following CSS property is used to apply a style to a single character, word or group
of words?
a. TEXT-ALIGN c. FONT-STYLE
b. WIDTH d. HEIGHT
3. Which of the following tags produces a horizontal line in the browser window?
a. <SUP> c. <BODY>
b. <HTML> d. <HR/>
4. Which of the following tags is used to give the title to a web page?
a. <BODY> c. <H1>
b. <TITLE> d. <BR/>
5. Which of the following is not a heading tag?
a. H7 c. H1
b. H6 d. H5
6. Which of the following tags is used to add a superscript in the Web page?
a. <SUP> c. <BODY>
b. <SUB> d. None of these
7. Which of the following property is used to set the colour of text?
a. COLOR c. TEXT-ALIGN
b. FONT-FAMILY d. BACKGROUND-COLOR
58
Touchpad MODULAR (Ver. 2.0)

