Page 162 - Web Applications (803) Class 11
P. 162
<!DOCTYPE html>
<html>
<body>
<p>This will display $</p>
<p>This will display ₹</p>
<p>This will display > symbol</p>
</body>
</html>
2.6 COLOR CODING
Coding of colour can be done as a combination of Red(RR), Green (GG) and Blue (BB) colour. These coding are
represented in ordered sequence of RR, GG and BB. For example: If we select a colour as Red, then its red value is full,
green value is 00 (i.e. Nil) and blue is also 00 (Nil).
Red=FF(Full)
Green=00 (Nil)
Blue=00 (Nil)
The resulting colour is red, so the red colour has the string (value) “#Ff0000”.
<BODY BGCOLOR =“#FF0000 ”>
RR (Red) = FF (Full)
GG (Green) = 00 (Empty)
BB (Blue) = 00 (Empty)
Similarly, if we select a color blue, then we will assign colour value as:
Red = 00 (Nil)
Green=00 (Nil)
Blue = FF (Full)
The table given below shows codes of different colours and their corresponding hexadecimal RGB values:
COLOUR Name HEX RGB Value COLOUR Name HEX RGB Value
Aqua # 00FFFF Black # 000000
Blue # 0000FF Grey # 808080
Green # 008000 Lime # 00FF00
Maroon # 800000 Purple # 800080
Red # FF0000 Silver # C0C0C0
White # FFFFFF Yellow # FFFF00
2.7 HTML LINKING
Tags can be used to link pages on a website together. The <a> anchor tag in HTML is used to create a link to another web
page. In HTML, there are two types of links: internal and external.
160 Touchpad Web Applications-XI

