Web Technology Lab (TCS-751) Lab File: SESSION 2010-11
Web Technology Lab (TCS-751) Lab File: SESSION 2010-11
Web Technology Lab (TCS-751) Lab File: SESSION 2010-11
(TCS-751)
Lab File
Submitted to Submitted By
Mr. SK Upadhyay Name: Abhinav Mittal
Dept.CSE Roll: 0709710003
Year/Sec : 4th/’A’
SESSION 2010-11
<html>
<body>
<h2>CURRICULUM VITAE</h2>
<HR/>
<H3>Abhinav Mittal</H3>
123,xyz
<br/>
Greater Noida-201308
<br/>
Mob-09953155227
<br/>
EMAIL- [email protected]
<hr/>
<h4><u>OBJECTIVE:</u></h4>
<p>Seeking a position to utilize my skills and abilities in the Information
Technology Industry that offers Professional growth while being resourceful,
innovative and flexible.</p>
<h3><u>IT EXPOSURE</u></h3>
<h4>EDUCATION</h4>
GCET,Gr.Noida<br/>
B Tech(Comp. Sci.)<br/>
Percentage Scored:71 %<br/>
<br/><br/>
DPS,MEERUT<br/>
12th<br/>
Percentage Scored: 80%<br/>
<br/><br/>
DPS,MEERUT<br/>
10th<br/>
Percentage Scored:82 %<br/>
<br/><br/>
<h4><u>TECHNICAL EXPERIENCE</u></h4>
<ul>
<li><font face="Arial" size="2">Languages: C, C#.NET , CORE JAVA,
ASP.NET, HTML</font></li>
</ul>
<hr/>
<h4>Certifications</h4>
<hr/>
<h4>Project Experience</h4>
<hr/>
<pre>
<p></p>
<p></p>
<p></p>
</pre>
<hr/>
</body>
</html>
PROGRAM # 2
<html>
<h2>This is the first static HTML page</h4>
<body>
<p>If you set the target attribute to "_blank", the link will open in a new browser
window.</p>
<table border="1">
<thead>
<tr>
<th>aa</th>
<th>bb</th>
<th>cc</th>
</tr>
</thead>
<tbody>
<tr>
<td>cc</td>
<td>dd</td>
<td>ee</td>
</tr>
<tr>
<td>ee</td>
<td>ff</td>
<td>gg</td>
</tr>
<tr>
<td>gg</td>
<td>hh</td>
<td>ii</td>
</tr>
<tr>
<td>ii</td>
<td>jj</td>
<td>kk</td>
</tr>
<tr>
<td>kk</td>
<td>ll</td>
<td>mm</td>
</tr>
</tbody>
</table>
<a href="second_html.htm">click to visit 2nd html page</a>
</body>
</html>
<ol type="i">
<li>apple</li>
<li>banana</li>
<li>mango</li>
<li>grapes</li>
</ol>
</form>
<html>
<body bgcolor='cyan'>
<head>
<h2>This is the 3rd static HTML page</h2>
</title>
<h1><center><b><big><u>curriculum vitae <b></u></big></center></h1>
<b><big><u><h2><center>PERSONAL DETAILS </h2></b></big></center>
<p><b>NAME:SAZID AHAMAD </br>
AGE:21 </br>
BATCH:2007-11 </br>
COLLEGE:GALGOTIA COLLEGE OF ENG.&TECH.</br>
CONTACT NUMBER:9458495749 </br>
E-MAIL ID:[email protected] </br>
<hr></hr>
QUALIFICATION:
10th (upboard):70% </br>
12th (upboard):72% </br>
<a href="fourth_html.htm">CLICK TO VISIT THE FOURTH PAGE</a>
<html>
<body>
<h2>This is the Fourth HTML page</h2>
<form action="">
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
<p><b>Note:</b> The form itself is not visible. Also note that the default width of
a text field is 20 characters.</p>
</head>
<h2>personal details</h2>
<table border="1" width="100%">
<tr>
<th align="left">Name</th>
<th align="left">E-mail</th>
<th align="left">Phone</th>
</tr>
<tr>
<td width="25%">Mayank</td>
<td width="25%">[email protected]</td>
<td width="25%">09278486757</td>
</tr>
<tr>
<td width="25%">Sanjay</td>
<td width="25%">[email protected]</td>
<td width="25%">0999077714</td>
</tr>
</table>
<br />
<hr />
<h3>Heading 3</h3>
<p>Visit our <a href="second_page.htm">Click to view Second Page</a>
<html>
<body>
<h2>CURRICULUM VITAE</h2>
<HR/>
<H3>Mayank Raj Chauhan</H3>
123,xyz
<br/>
Greater Noida-201308
<br/>
Mob-09998887771
<br/>
[email protected]
<hr/>
<h4><u>OBJECTIVE:</u></h4>
<p>Seeking a position to utilize my skills and abilities in the Information
Technology Industry that offers Professional growth while being resourceful,
innovative and flexible.</p>
<h3><u>IT EXPOSURE</u></h3>
<h4>EDUCATION</h4>
GCET,Gr.Noida<br/>
B Tech(Comp. Sci.)<br/>
Percentage Scored:71 %<br/>
<br/><br/>
KV,Nsd,Ajmer<br/>
12th<br/>
Percentage Scored: 68%<br/>
<br/><br/>
KV,Nsd,Ajmer<br/>
10th<br/>
Percentage Scored:76 %<br/>
<br/><br/>
<h4><u>TECHNICAL EXPERIENCE</u></h4>
<ul>
<li><font face="Arial" size="2">Languages: C, C#.NET , CORE JAVA,
ASP.NET, HTML</font></li>
</ul>
<hr/>
<h4>Certifications</h4>
<hr/>
<h4>Project Experience</h4>
<hr/>
<pre>
<p></p>
<p></p>
<p></p>
</pre>
<hr/>
</body>
</html>
PROGRAM # 3
<html>
<link rel="stylesheet" type="text/css" href="style2.css">
<head>
</head>
<body>
<h1>Static HTML Page using CSS</h1>
<p>This is some text in a paragraph.</p>
<p>This is another paragraph.</p>
<hr />
<h2>personal details</h2>
<table border="1" width="100%">
<tr>
<th align="left">Name</th>
<th align="left">E-mail</th>
<th align="left">Phone</th>
</tr>
<tr>
<td width="25%">Mayank</td>
<td width="25%">[email protected]</td>
<td width="25%">09278486757</td>
</tr>
<tr>
<td width="25%">Sanjay</td>
<td width="25%">[email protected]</td>
<td width="25%">0999077714</td>
</tr>
</table>
<br />
<hr />
<h3>Heading 3</h3>
<p>Visit our <a href="second_page.htm">Click to view Second Page</a>
</body>
</html>
body
{
font-size:75%;
font-family:"lucida calligraphy",arial,'sans serif';
background-color:#DCDCDC;
color:#8A2BE2;
margin:10px;
}
h1 {font-size:200%;}
h2 {font-size:140%;}
h3 {font-size:110%;}
th {background-color:#D3D3D3;}
td {background-color:#FFFAF0;}
a:link {color:#8A2BE2;text-decoration:none;}
a:hover {color:red;font-weight:bold;text-decoration:none;}
a:visited {text-decoration:none;}
PROGRAM # 4
Write the complete HTML code and use java script to implement a function.
<html>
<head>
<script type="text/javascript">
function displaymessage()
{
alert("Hello World!");
}
</script>
</head>
<body>
<form>
<input type="button" value="Click me!" onclick="displaymessage()" />
</form>
<p>By pressing the button above, a function will be called. The function will alert
a message.</p>
</body>
</html>
PROGRAM # 5
Write the complete HTML tags and use java script codes to display specific
message based on the day of week using switch statement.
<html>
<body>
<script type="text/javascript">
var d = new Date();
theDay=d.getDay();
switch (theDay)
{case 1:
document.write("<b>Working Monday</b>");
break;
case 2:
document.write("<b>Powerful Tuesday</b>");
break;
case 3:
document.write("<b>Today is Wednesday </b>");
break;
case 4:
document.write("<b>Now its Thursday</b>");
break;
case 5:
document.write("<b>Finally Friday</b>");
break;
case 6:
document.write("<b>Super Saturday</b>");
break;
case 0:
document.write("<b>Sleepy Sunday</b>");
break;
default:
document.write("<b>I'm really looking forward to this weekend!</b>");
}
</script>
<p>This JavaScript will generate a different greeting based on what day it is. Note
that Sunday=0, Monday=1, Tuesday=2, etc.</p>
</body>
</html>