Web Tech Lab File
Web Tech Lab File
(Session-2023)
Enrollment No.:211127
WEB TECH LAB JUIT CSE/IT
Experiment-0
Aim-Learning basics Of HTML
Editor And Programming Used:
1.HTML
2.Notepad
Program:
<html>
<head>
<title> learning html</title>
</head>
<style>
table,td,th{
border:1px solid black;}
mark{
background-color: red;
color: white;
}
</style>
<body>
<!--headings-->
<h1> Web tech lab </h1>
<!--paragraph-->
<p>hi my name is Pradyumn Vashisht</p>
<!--line break-->
<br>this</br> is a web tech lab
<!--thematic change-->
<hr>Web tech lab</hr>
Enrollment No.:211127
<!--address-->
<address>Written by:<a href="[email protected]">Pradyumn
Vashisht</a>.<br>Visit us at JUIT</br></address>
<!--bdi-->
<p>This is a <bdi>web tech lab</bdi></p>
<!--blockquote(removes indentation)-->
<blockquot cite="https://www.wikipedia.org/">Wikipedia is hosted by the
Wikimedia Foundation, a non-profit organization that also hosts a range
of other projects.</blockquote>
<!--em(emphasize)-->
<p>Hi my name is <em>Pradyumn Vashisht</em></p>
Enrollment No.:211127
<!--mark(highlights the text ) -->
<mark>HTML</mark>
<!--rt-->
<p><rt>hi guys</rt> this is tuf gaming</p>
<!--ruby-->
<p>this is a <ruby>html</ruby> doc</>
<!--strong-->
<p> <strong>this is a impo text </strong></p>
<!--sub(subscript)-->
<p><sub>this is a subscript</sub></p>
<!--sup(superscript)-->
<p></sup>this is a superscript</sup></p>
<!--template-->
<p>press the below button</p>
<button onclick="showcontent()">Show the hidden content</button>
Enrollment No.:211127
<template><h2>ROG</h2><img src="download.jpg" width="214"
height="204"></template>
<script>
function showcontent(){
var temp=document.getelementbytagname("template")[0];
var clon=temp.content.clonenode(true);
document.body.appendchild(clon);
}
</script>
<!--input-->
<br></br>
<label for="fname">First Name:</label>
<input type="text" id="fname" name="fname"><br>
</br>
<button>SUBMIT</button>
<!--textarea-->
<p>
<label for="html">review pf html</label></p>
<textarea id="html" name="html" rows="4", cols="50"></textarea>
<button>SUBMIT</button>
<!--select-->
<p>select your favorite car in the below options.</p>
<label for="cars">Choose the car:</label>
<select name="cars" id="cars">
<option value="volvo">VOLVO</option>
<option value="audi">audi</option>
<option value="rolls">rolls</option>
<option value="nissan">nissan</option>
<!--optgroup-->
<label for="cars">Choose the car:</label>
<select name="cars" id="cars">
<optgroup label="Mine">
<option value="volvo">VOLVO</option>
<option value="audi">audi</option>
</optgroup>
<optgroup label="to be owned">
<option value="rolls">rolls</option>
<option value="nissan">nissan</option>
</optgroup>
</select>
<!--fieldset-->
<h1>DETails</h1>
<fieldset>
Enrollment No.:211127
<legend>PERSONAL ACCOUNT</legend>
<label for="fname">First Name:</label>
<input type="text" id="fname" name="fname">
<label for="email">Email:</label>
<input type="text" id="email" name="email">
<label for="bday">Bday:</label>
<input type="text" id="bday" name="bday">
<!--datalist-->
<p>Select thye browser you love to use </p>
<label for="browsers">Choose your browser:</label>
<input list="browsers" name="browsers" id="browsers">
<datalist id="browsers">
<option value="safari"></option>
<option value="edge">
<option value="chorme">
<option value="firefox">
</datalist>
<input type="submit">
<!--img-->
<img src="download.jpg" alt="rog" widht="500", height="600"
<!--canvas-->
<canvas id="myCanvas"></canvas>
<script>
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.fillStyle = "#FF0000";
ctx.fillRect(0, 0, 80, 100);
</script>
Enrollment No.:211127
<!--video-->
<video width="320" height="440" controls>
<sorce src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</video>
<!--table-->
<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>100$</td>
</tr>
<td>february</td>
<td>200$</td>
</tr>
</table>
<!--caption-->
<table>
<caption>MOnthly savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>100$</td>
</tr>
<td>february</td>
<td>200$</td>
</tr>
</table>
</body>
</html>
Enrollment No.:211127
Output:
Enrollment No.:211127
Learning Outcome:
In this experiment we learned hwo to design a basic web page using
different HTML tags and we tried different type of headings paragraphs
and links using heading tags and anchors tags.
Enrollment No.:211127
WEB TECH LAB JUIT CSE/IT
Experiment-1
Aim- 1.Write a HTML code to display the Education details in a “table”
2.Write a HTML code to display your CV.
Editor and Programming Used:
1.HTML
2.NOTEPAD
Program:
1.Program 1
<html>
<head><title>Educational Details</title></head>
<style>
table,td,th{
border:2px solid black;}
</style>
<body>
<h1 style="color:blue"><center>Educational
Details</center></h1>
<center> <table>
<tr>
<th> S.no </th>
<th> Course </th>
<th> Board/university </th>
<th> School/College </th>
<th> Year of Passing </th>
<th> Percentage </th>
</tr>
<tr>
<td>1.</td>
<td>10</td>
<td>CBSE</td>
<td>Chapslee </td>
<td>2019</td>
<td>79.5%</td>
</tr>
<tr>
<td>2.</td>
<td>12</td>
Enrollment No.:211127
<td>CBSE</td>
<td>Chapslee</td>
<td>2021</td>
<td>80.1%</td>
</tr>
</table></center>
</body>
Output:
2.Program 2
2. <html>
<head><title>My_CV</title></head>
<body>
<h1>Pradyumn Vashisht</h1>
<img src="photo.jpeg" height="100px" style="border-
radius:48px">
<h3>Contact:7807121721</h3>
<h4>Jaypee University OF Information Technology<br>
Waknaghat<br>Solan,173234</h4>
<h3>Profile</h3>
<p>Desires to be a Cyber Security officer.Been in the security
field from past three years and have an experience for over 3+ years in
Penetration testing.</p>
<h3>Education</h3>
<p><b>Jaypee University Of Information Technology</b><br>
Bachelor's of Technology in Computer Science<br>
2021-2025<br</p>CGPA:8.9</p><br>
<p><b>Chapslee School </b><br>
Grade 12<br>
2021<br>
Percentage:81%</p><br>
<h3>Experience</h3>
<p><b>Jaypee University Of Information Technology</b><br>
BTech CSE<br>
2021-2025</p>
</p>
Enrollment No.:211127
<h3>Interest</h3>
<p><ul>Coding</ul>
<ul>Listening music</ul>
<ul>Working Out</ul>
<ul>Travelling</ul></p>
</body>
</html>
Output:
Learning Outcome:
In this experiment , we first learned how to create a table and enter the
data and secondly, we created our CV in HTML and learned about different
Style Attributes.
Enrollment No.:211127
WEB TECH LAB JUIT CSE/IT
Experiment-2
Aim: Making format of the file
Editor and Programming used
1. HTML
2. Notepad
Program:
<!DOCTYPE html>
<html>
<body>
<br>
<h1 align="center">WEB TECH LAB JUIT-CSE/IT</h1>
<hr>
<h1 align="center"><font size="5">EXPERIMENT 1</font></h1>
<h1 align="left"><font size="4">1. Aim/Objective:</font></h1>
<p><b>.................................................................
</b></p>
<h1 align="left"><font size="4">2. Editor and Programming
used:</font></h1>
<p><b>.................................................................
</b></p>
<h1 align="left"><font size="4">3. Programm/code :</font></h1>
<p><b>.................................................................
</b></p>
<h1 align="left"><font size="4">4. Output/Page display:</font></h1>
<p><b>.................................................................
</b></p>
<h1 align="left"><font size="4">5. Learning outcome:</font></h1>
<p><b>.................................................................
</b></p>
<hr>
<br><p><pre>Enrollment number:....................
Enrollment No.:211127
Page number:........................</pre></p>
</body>
</html>
Output:
Learning Outcome:
In this experiment, we created the format of our file with the use of
various style attributes and hr tags.
Enrollment No.:211127
WEB TECH LAB JUIT CSE/IT
Experiment-3
Aim:
Write a HTML code to Design your CV
Program:
<html>
<head>
<title>Web tech lab 3</title>
</head>
<body bgcolor="#852D2D">
<div>
<div>
<h1 style="color:red;"><center>Educational Detail</center></h1>
Enrollment No.:211127
<em>
<p><strong>10th:</strong><br>
<b>School:</b>Chapslee School<br>
<b>Marks Scored:</b>384<br>
<b>Favorite Subject:</b>Chemistry<br><br>
<b>12th:</b><br>
<b>School Name:</b>Chapslee School<br>
<b>Marks Scored:</b>404<br>
<b>Favorite Subject:</b>Chemistry
</p></div></em>
<hr>
<div>
<h1 style="color:red;"><center>ExtraCurricular
Activities</center></h1>
<em>
<p style="color:green;"> Working Out</p>
<p style="color:blue;"> Travelling</p>
<p style="color:green;">Playing Basketball</p>
<p style="color:blue;">Listening Music</p>
</div></em>
<hr>
<div>
<h1 style="color:red;"><center>Social Media Profiles</center></h1>
<em>
<a href="[email protected]">Mail</a><br>
<a href="https://www.linkedin.com/in/pradyumn-vashisht-
Ob2117215">LinkedIn</a><br>
<a href="https://instagram.com/_v_a_s_h_i_s_h_t_?
igshid=ZDdkNTZiNTM=">Instagram</a>
</div></em>
Output:
Enrollment No.:211127
Enrollment No.:211127