The document provides information about HTML tags and colors in HTML. It discusses basic HTML tags like <html>, <head>, <body>, and various text formatting tags. It also provides color codes for common colors in both hexadecimal (#FFFFFF) and RGB (rgb(255,255,255)) formats, including tables of shades of gray and color ranges.
2. HTML Íè ÄêÈè¨ ¨Çæ¾ê ïÄÍè ¡¶¾àªë ïŒ.
HTML ¡æÇ‹Æ Æêºàïº ÍçÄ—´Ä <HTML> ïÈÌÆ.
HTML ¡ÉÌ¾à ¨È Æêºàïº ÍçÄ—´Ä </HTML> ïÈÌÆ.
<html>
I AM Prasanga Amila
</ html >
¨çÄºè ¾Ä¨è¾à ¨ÈÍç¨è ÉêÉºà ¾Ä ¡ª´ .html ïÈÌïƼèÆ ÆêºëÆ.
¦—´ Àͺ ïÈÌ print ïŒ.
file:///C:/Users/….older/a .
mila.
I AM Prasanga Amila
3. Title ¦¨¨à ¦¨ºë ¨èÖÄ.
< html>
< html> <head>
<title> <title> ELUWA.Com</title>
ELUWA.Com </head>
</title> I AM Prasanga Amila
I AM Prasanga Amila </ html>
</ html >
ELUWA.Com .
I AM Prasanga Amila
6. <html>
<body>
<head>
<title>ELUWA.Com</title>
</head>
<P>I am Student of UOC <br/> in Sri lanka </p>
<hr/>
<h3><b> Prasanga Amila </h3></b>
<h2><i> Prasanga Amila </h2></i>
</body>
</html>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
I am Student of UOC
in Sri lanka
Prasanga Amila
Prasanga Amila
7. Table ¦¨ºë ¨èÖÄ
Tag Description
<table> Defines a table
<th> Defines a table header
<tr> Defines a table row
<td> Defines a table cell
<caption> Defines a table caption
<colgroup> Defines a group of columns in a table, for formatting
<col /> Defines attribute values for one or more columns in a table
<thead> Groups the header content in a table
<tbody> Groups the body content in a table
<tfoot> Groups the footer content in a table
<table border="amila">(" " ¡æºëÈ´ ¨çÄºè ¾Ä¨à ïƼèÆ Íç¨)
<tr>
<td>year</td>
<td>age</td>
</tr>
<tr>
<td>2011</td>
<td>21</td>
</tr>
</table>
year age
2011 21
24. <html>
<title>www.amila.com</title>
<hr/>
<body style="background-color:yellow">
<h2 style="background-color:red"<marquee>Prasanga Amila</marquee></h2>
<hr/>
<h3 style="background-color:LawnGreen "<center><font
color="#8B0000">University Of Colombo</font></center></h3>
<marquee><h1><b><font face="Anuradha">m%ix. wñ, </font></b></h1>
</html>
www.amila.com .
…………………….Prasanaga Amila………………………………...
University Of Colombo
…………………………………..m%ix. wñ,................................................................................
25. Tag ¦¨ºë ¨èÖÄ
Tag Description
<html> Defines an HTML document
<body> Defines the document's body
<h1> to <h6> Defines HTML headings
<hr /> Defines a horizontal line
<!--> Defines a comment(comment ¨èÖÄ)
Tags Description
<center> Deprecated. Defines centered content
<font> and
Deprecated. Defines HTML fonts
<basefont>
<s> and <strike> Deprecated. Defines strikethrough text
<u> Deprecated. Defines underlined text
Attributes Description
Deprecated. Defines the alignment of
align
text
Deprecated. Defines the background
bgcolor
color
color Deprecated. Defines the text color
26. HTML List Tags
Tag Description
<ol> Defines an ordered list
<ul> Defines an unordered list
<li> Defines a list item
<dl> Defines a definition list
<dt> Defines an item in a definition list
<dd> Defines a description of an item in a definition list
¼æ¾à ïÄÉåïÆà ïƼúŠ ¨èÀƨà ÌȨå ÂÈÄê.
<ul>
<li>prasanga</li> prasanga
<li>Amila</li> Amila
</ul>
<ol> 1.prasanga
<li>prasanga</li>
<li>Amila</li> 2.Amila
</ol>
27. <dl>
<dt>prasanga</dt> prasanga
<dd>university of colombo</dd> university of Colombo
<dt>Amila</dt> Amila
<dd>Colombo 7</dd> Colombo 7
</dl>
INPUT ¦¨ºë ¨èÖÄ
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
First name:
Last name:
<form>
Password: <input type="password" name="pwd" />
</form>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
Password:
28. <form>
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female
</form>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
Male
Female
<form>
<input type="checkbox" name="vehicle" value="Bike" /> I have a
bike<br />
<input type="checkbox" name="vehicle" value="Car" /> I have a car
</form>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
I have a bike
I have a car
<form name="input" action="html_form_action.asp" method="get">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>
ïÄÄ ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
Username: submit
29. Math Symbols (HTML Íè Àå—ƒƒ ¨È Íæ¨è ¦Éå Àĸü.)
Character Entity Number Entity Name Description
∀ ∀ ∀ for all
∂ ∂ ∂ part
∃ ∃ ∃ exists
∅ ∅ ∅ empty
∇ ∇ ∇ nabla
∈ ∈ ∈ isin
∉ ∉ ∉ notin
∋ ∋ ∋ ni
∏ ∏ ∏ prod
∑ ∑ ∑ sum
− − − minus
∗ ∗ ∗ lowast
√ √ √ square root
∝ ∝ ∝ proportional to
∞ ∞ ∞ infinity
∠ ∠ ∠ angle
∧ ∧ ∧ and
∨ ∨ ∨ or
∩ ∩ ∩ cap
∪ ∪ ∪ cup
∫ ∫ ∫ integral
∴ ∴ ∴ therefore
∼ ∼ ∼ similar to
≅ ≅ ≅ congruent to
≈ ≈ ≈ almost equal
≠ ≠ ≠ not equal
≡ ≡ ≡ equivalent
≤ ≤ ≤ less or equal
≥ ≥ ≥ greater or equal
⊂ ⊂ ⊂ subset of
⊃ ⊃ ⊃ superset of
⊄ ⊄ ⊄ not subset of
⊆ ⊆ ⊆ subset or equal
⊇ ⊇ ⊇ superset or equal
⊕ ⊕ ⊕ circled plus
31. δ ζ ζ zeta
ε η η eta
ζ θ θ theta
η ι ι iota
θ κ κ kappa
ι λ λ lambda
κ μ μ mu
λ ν ν nu
μ ξ ξ xi
ν ο ο omicron
π π π pi
ξ ρ ρ rho
ο ς ς sigmaf
ζ σ σ sigma
η τ τ tau
π υ υ upsilon
θ φ φ phi
ρ χ χ chi
ς ψ ψ psi
σ ω ω omega
ϑ ϑ ϑ theta symbol
ϒ ϒ ϒ upsilon symbol
ϖ ϖ ϖ pi symbol
Other Entities (HTML Íè Àå—ƒƒ ¨È Íæ¨è ¦Éå Àĸü.)
Character Entity Number Entity Name Description
Œ Œ Œ capital ligature OE
œ œ œ small ligature oe
Š Š Š capital S with caron
š š š small S with caron
Ÿ Ÿ Ÿ capital Y with diaeres
ƒ ƒ ƒ f with hook
ˆ ˆ ˆ modifier letter circumflex accent
˜ ˜ ˜ small tilde
    en space
    em space
32.     thin space
‌ ‌ zero width non-joiner
‍ ‍ zero width joiner
‎ ‎ left-to-right mark
‏ ‏ right-to-left mark
Ŕ – – en dash
ŕ — — em dash
Ř ‘ ‘ left single quotation mark
ř ’ ’ right single quotation mark
‚ ‚ ‚ single low-9 quotation mark
Ŗ “ “ left double quotation mark
ŗ ” ” right double quotation mark
„ „ „ double low-9 quotation mark
† † † dagger
‡ ‡ ‡ double dagger
• • • bullet
… … … horizontal ellipsis
‰ ‰ ‰ per mille
′ ′ ′ minutes
″ ″ ″ seconds
‹ ‹ ‹ single left angle quotation
› › › single right angle quotation
‾ ‾ ‾ overline
€ € € euro
™ ™ ™ trademark
← ← ← left arrow
↑ ↑ ↑ up arrow
→ → → right arrow
↓ ↓ ↓ down arrow
↔ ↔ ↔ left right arrow
↵ ↵ ↵ carriage return arrow
⌈ ⌈ ⌈ left ceiling
⌉ ⌉ ⌉ right ceiling
⌊ ⌊ ⌊ left floor
⌋ ⌋ ⌋ right floor
◊ ◊ ◊ lozenge
♠ ♠ ♠ spade
♣ ♣ ♣ club
33. ♥ ♥ ♥ heart
♦ ♦ ♦ diamond
HTML Form Tags
Tag Description
<form> Defines an HTML form for user input
<input /> Defines an input control
<textarea> Defines a multi-line text input control
<label> Defines a label for an input element
<fieldset> Defines a border around elements in a form
<legend> Defines a caption for a fieldset element
<select> Defines a select list (drop-down list)
<optgroup> Defines a group of related options in a select list
<option> Defines an option in a select list
<button> Defines a push button( Button ¦¨¨à ÈÂå ï¼à.)
¢Íº tags Àå—ƒƒ ¨Ç ÂȾà¾.
36. Iframe ¦¨ºë ¨èÖÄ
<html>
<body>
<iframe src="demo_iframe.htm" width="200" height="200"></iframe>
<p>Some older browsers don't support iframes.</p>
<p>If they don't, the iframe will not be visible.</p>
</body>
</html>
File not found
Firefox can't find the file at
/C:/Users/amila/Desktop/New
folder/demo_iframe.htm
Check the file name for capitalization
or other typing errors.
Check to see if the file was moved,
renamed or deleted
Try Again
37. frames ¦¨ºë ¨èÖÄ
<frameset cols="25%,75%">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
</frameset>
HTML Frame Tags
Tag Description
<frameset> Defines a set of frames
<frame /> Defines a sub window (a frame)
Defines a noframe section for browsers that do not
<noframes>
handle frames
<html>
<frameset rows="50%,50%">
<frame src="frame_a.htm" />
<frameset cols="25%,75%">
<frame src="frame_b.htm" />
<frame src="frame_c.htm" />
</frameset>
</frameset>
</html> (¨ÇÈÄ ÂȾà¾.)
41. ¢Íº ï¨ºÆ Äªè¾à Àͺ ïÈÌ print ïŒ.
…………………..Prasanga Amila……………………………..
University Of Colombo
Welcome to our university of colombo web site.
Not Yet Sign In....
First name:
Last name:
your Email :
Passwords:
Male
Female
Submit
Username:
If you want more detail...
www.university of colombo.com
When you wat to direct connection with us Please contact below our partners.
name Tel.number
Prasanga Amila 071-9339755/078-3180746
Nilanka 071-8159219/075-3780743
Manaram 071-3604975/072-3343567