Monday, 9 March 2015

Javascript program to validate the Login page

Program:


<html>
<head>
<title>Login Form</title>
<script language="Javascript">
function validate()
{
name=document.forms[0].elements[0].value;

Monday, 2 March 2015

HTML program for order confirmation page

program:

<html>
<head><title>Order confirmation</title></head>
<body background="redflower.jpg">
<h1 align="center">order confirmation page</h1>
<table name="confirm" padding="10%" cellpadding="30%">
<tr>
<th>order confirmation no</th>
<td>:</td>
<td>:</td>
</tr>
<tr>
<th>total number of books</th>
<td>:</td>
<td>4</td>
</tr>
<tr>
<th align="left"> Total Cost</th>
<td>:</td>
<td>2500.0</td>
</tr>
<tr>

Saturday, 14 February 2015

HTML code for user profile page

program:



<html>
<head>
<title>User profile</title>
</head>
<body bgcolor="#abcdef">
<h3 align="center">User profile</h3>
<form name="profile-form" method="post">
NAME
<input type="text" name="uname" value="ganesh venkata" size="30" maxlength="20"><br>
PASSWORD
<input type="password" name="pwd" value="******" size="15"<br>
EMAIL
<input type="text" name="email" value="ganeshmuppallasv@gmail.com" size="20"<br>
PHONE NUMBER
<input type="text" name="phno" value="1234567890" size="15" maxlength="10"><br>
<pre>
GENDER
male<input type="radio" name="gender" value="male" checked>
female<input type="radio" name="gender" value="female">
</pre>
<br>
DATE OF BIRTH &nbsp;&nbsp;

Sunday, 8 February 2015

Create a table using HTML

Program:




<html>
<head>
<title> To create a table model</title>
</head>
<body>