Experiment No-01 Write HTML/Java Script Code To Display Your CV
Experiment No-01 Write HTML/Java Script Code To Display Your CV
Experiment No-01 Write HTML/Java Script Code To Display Your CV
:- Date:-
EXPERIMENT NO-01
Objective:- Write HTML/Java script code to display your CV.
Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
padding: 20px;
h1, h2 {
margin-bottom: 10px;
p{
margin-bottom: 5px;
.section {
margin-bottom: 20px;
</style>
1
Experiment no.:- Date:-
</head>
<body>
<div>
<div class="section">
<h1>Mohammed Khalid</h1>
</div>
<div class="section">
<h2>Education</h2>
<p>12Th</p>
<p>10Th</p>
</div>
<div class="section">
<h2>Skills</h2>
<p><li>Frontend Technology:Html,css,JavaScript,React</li></p>
2
Experiment no.:- Date:-
</div>
<div class="section">
<h2>Projects</h2>
<h3>Resturant website</h3>
<h3>Ecomerce Website</h3>
<p>This website is simple website which is mainly deal with shopping website
<br>
</p>
<h3>JAVA:Car ShooromSystem</h3>
<br>
</p>
</div>
3
Experiment no.:- Date:-
<div class="section">
<h2>Extracurricular Activities</h2>
<br>
<br>
<br>
</p>
</div>
<div class="section">
<h2>References</h2>
<p><li>ChatGPT</li>
<br>
<li> StackOverFlow</li>
<br>
<li> Google</li>
<br>
</p>
</div>
</div>
4
Experiment no.:- Date:-
</body>
</html>
5
Experiment no.:- Date:-
OUTPUT:-
6
Experiment no.:- Date:-
EXPERIMENT NO– 2
Code:-
<!-- Html Document Begins-->
<!DOCTYPE html>
<html>
<!-- Header Section-->
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Student Registration Form
</title>
</head>
<!--Start of Form-->
<div style="margin: auto;width: 30%;">
<form>
<h2>Student Registration Form</h2>
7
Experiment no.:- Date:-
<br>
<label><b>Last Name</b></label>
<input type="text" placeholder="Enter your last name" name="last_name" required>
<br>
<br>
<label><b>E-mail</b></label>
<input type="email" placeholder="Enter your e-mail" name="email" required>
<br>
<br>
<label><b>Date of Birth</b></label>
<input type="date" name="dob" required>
<br>
<br>
<label><b>Set Username</b></label>
<input type="text" placeholder="Set Username" name="username" required>
<br>
<br>
<label><b>Set Password</b></label>
<input type="password" placeholder="Set password" name="password" required>
<br>
8
Experiment no.:- Date:-
<br>
<label><b>Gender</b></label><br>
<input type="radio" name="gender" value="Male">
<label for="Male">Male</label><br>
<input type="radio" name="gender" value="Female">
<label for="Female">Female</label><br>
<input type="radio" name="gender" value="Others">
<label for="Others">Others</label>
<br>
<br>
<label><b>Course :</b></label>
<select>
<option value="Course">Course</option>
<option value="CS">Computer Fundamentals</option>
<option value="AI">Artificial Intelligence</option>
<option value="ML">Machine Learning</option>
<option value="OOPS">Object Oriented Programming</option>
<option value="DBMS">Database Management System</option>
</select>
<br>
<br>
<input type="button" value="Register"/>
</form>
</div>
</body>
9
Experiment no.:- Date:-
OUTPUT –
10
Experiment no.:- Date:-
EXPERIMENT NO– 3
Code:-
<employee>
<name>
<lastname>Kelly</lastname>
<firstname>Grace</firstname>
</name>
<project>
<product>Printer</product>
<id>111</id>
<price>$111.00</price>
</project>
<project>
11
Experiment no.:- Date:-
<product>Laptop</product>
<id>222</id>
<price>$989.00</price>
</project>
</projects>
</employee>
<employee>
<name>
<lastname>Grant</lastname>
<firstname>Cary</firstname>
</name>
<projects>
<project>
<product>Desktop</product>
<id>333</id>
<price>$2995.00</price>
</project>
<project>
<product>Scanner</product>
<id>444</id>
<price>$200.00</price>
</project>
</projects>
</employee>
<employee>
<name>
<lastname>Gable</lastname>
<firstname>Clark</firstname>
</name>
<hiredate>October 25, 2005</hiredate>
12
Experiment no.:- Date:-
<projects>
<project>
<product>Keyboard</product>
<id>555</id>
<price>$129.00</price>
</project>
<project>
<product>Mouse</product>
<id>666</id>
<price>$25.00</price>
</project>
</projects>
</employee>
</document>
OUTPUT:-
October 20,
October 25,
13
Experiment no.:- Date:-
EXPERIMENT NO– 4
Objective:- Write the program How to get browser details using javascript
Code:-
<!DOCTYPE HTML>
<html>
<head>
<title>
</title>
</head>
<body>
<div id="example"></div>
<script>
txt
"</p>";
"</p>";
document.getElementById("example").innerHTML=txt;
</script>
</body>
</html>
14
Experiment no.:- Date:-
OUTPUT:-
Browser Version: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/123.0.0.0 Safari/537.36
15