Page 74 - Trackpad_V2.1_Class6
P. 74
uiz Bee What is an empty tag? Write an example of empty tag.
_________________________________________________________________
<HR> TAG
The <HR> tag is used to divide the webpage into different sections by drawing a horizontal line in
the webpage.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HR Tag </TITLE>
</HEAD>
<BODY>
<p>This is the first paragraph of the
tag. HTML is the standard markup CSS is like the colour and texture
language for Webpages. </p> of a flower or leaf, which enhances
<hr> the plant's visual appeal.
<p>This is the second paragraph of the
tag.HTML is the standard markup
language for Webpages.</p>
<hr>
</BODY>
</HTML>
STYLING HTML5 DOCUMENTS WITH CASCADING STYLE SHEETS
CSS (Cascading Style Sheets) is a language used to describe how HTML documents should look
and be formatted. The latest version of CSS is CSS 3. Earlier, CSS 2 was used. CSS comprises style
rules that are interpreted by the web browser and then applied to the corresponding elements in
the HTML webpage.
The Cascading Style Sheet has two parts: selector and declaration.
Selector Declaration
H1 { Color : Blue; Font-Size : 12px; }
Property Value Property Value
72 Trackpad (V2.1)-VI

