Lab file format
Lab file format
Experiment No: 2
Experiment Title: Write an HTML code to display your CV on a web page. Write an HTML
code to implement the concept of frames with 2 frames: one for hyperlinks and another for
opening the content to that link.
Aim: Create a web page to display your cv using the HTML
Procedure:
1. Open a text editor (e.g., Notepad, VS Code).
Source Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My CV</title>
<style>
body {
line-height: 1.6;
margin: 20px;
}
h1, h2 {
color: #333;
.section {
margin-bottom: 20px;
.section h2 {
padding-bottom: 5px;
</style>
</head>
<body>
<h1>John Doe</h1>
href="https://linkedin.com/in/johndoe">linkedin.com/in/johndoe</a></p>
<div class="section">
<h2>Summary</h2>
</div>
<div class="section">
<h2>Education</h2>
<div class="section">
<h2>Experience</h2>
<p><strong>Web Developer</strong><br>
</div>
<div class="section">
<h2>Skills</h2>
<ul>
<li>React, Node.js</li>
</ul>
</div>
</body>
</html>
Result:
Conclusion:
In this experiment, we created a web page to display a CV using HTML and styled it with CSS. We also
implemented frames to separate hyperlinks and content, allowing smooth navigation between
sections. This helped us understand web page structuring, styling, and the practical use of frames in
web development.