Kerala HSS CS Lab HTML Sample Programs
Kerala HSS CS Lab HTML Sample Programs
01-TABLE01.HTML source
01-TABLE01.HTML output
Terrestrial Planets (Source: Nasa)
Planet
Mercury
1408
88
Venus
5832
224.7
Earth
24
365.26
Mars
25
687
02-FORM01.HTML source
facility to accept:
lines
button
list box
boxes
02-FORM01.HTML output
Job Application
Name:
Address:
Gender: Male
Female
Nationality: Indian
Hobbies:
Music
Read Books
Sports
Submit
Clear
03-FORM02.HTML source
<!-Imagine that your school is hosting an inter-school IT fair. Design an HTML form for accepting registrations.
The form page should contain facility to enter:
* School name * User name * Password * Mobile phone no.
It should also contain a button for saving and clearing the details entered
-->
<html>
<head> <title> Registration - Interschool IT Fair </title> </head>
<body>
<!-- Students can ignore style tag -->
<style>
body {font-family: Fantasque Sans Mono, Ubuntu Mono, monospace;}
input { width:10em; height:2em; margin:0.2em;}
</style>
<h1>Registration - Interschool IT Fair</h1>
<form name=form1 action=register.php method=POST>
School name: <input type=text name=school_name> <br>
User name : <input type=text name=user_name> <br>
Password
: <input type=password name=pw> <br>
Repeat Password: <input type=password name=pw2> <br>
Mobile No.
: <input type=text name=mobile> <br> <br>
<input type=submit value=Submit> <input type=reset value=Clear>
</form>
</body>
</html>
03-FORM02.HTML output
Registration - Interschool IT Fair
School name:
User name :
Password :
Repeat Password:
Mobile No. :
Submit
Clear
04-LIST01.HTML source
04-LIST01.HTML output
Tourist Department of Kerala
1. Beach
a. Kovalam
b. Muzhappilangad
c. Kappad
2. Hill Station
a. Munnar
b. Wayanad
c. Gavi
3. Wild Life
a. Iravikulam
b. Muthanga
c. Kadalundi
05-LINK_MAILTO.HTML source
05-LINK_MAILTO.HTML output
About Me
Name: Kiran
DOB: 2/2/2000
Address:
Sooraj
Fort Kochi
Ernakulam
Nationality: Indian
E-Mail: [email protected]