Ecd Presentation
Ecd Presentation
• A CSS comprises of style rules (CSS Rules) that are interpreted by the browser
and then applied to the corresponding elements in your document. A CSS rule
ha two main parts:
• (ⅰ) Selector: A selector is an HTML tag at which style will be applied. This could
be has two main parte any tag like <h1> or <table> etc.
• (ii) Declaration: Each declaration consists of a property and a value. The
property is the style attribute you want to change. Each property has a value.
A CSS declaration always ends with a semicolon, and declaration groups are
surrounded by curly brackets.
Example
<HTML> <H2>HEADING-2 IS AFFECTED
BY STYLE</H2>
<HEAD> <H3> HEADING-3 IS AFFECTED
<STYLE> BY STYLE</H3>
<p>THIS PARAGRAPH IS
P, H2, H3
AFFECTED BY STYLE<p>
{ <BODY>
<HTML>
TEXT-ALIGN: CENTER;
COLOR: BLUE;
FONT-WEIGHT: BOLD;
}
</STYLE>
</HEAD>
<BODY>
CONCLUSION