Sachin_Labfile2.docx
Sachin_Labfile2.docx
Experiment No: 02
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: To create a webpage that displays a personal CV using HTML and to implement
the concept of frames, where one frame contains hyperlinks and the other displays the
corresponding content.
Procedure:
1. Create the CV Web Page (cv.html).
● Write an HTML document that includes sections like Personal Information,
Education, Skills, Projects, and Contact.
● Use appropriate HTML tags such as <h1>, <h2>, <p>, and <ul> to structure the
content.
● Save the file as cv.html.
2. Create the Frame Structure (frame.html).
● Use the <frameset> tag to divide the webpage into two sections:
○ Left Frame (30%) → Contains navigation links.
<html>
<head>
<title>My CV</title>
</head>
<body>
<h1> Sachin</h1>
<h2>Contact Information</h2>
<p>Email: [email protected]</p>
<p>Phone: 9719112474</p>
<p>Address: Delhi, India</p>
<p>LinkedIn: linkedin.com/in/Sachinsirohi</p>
<h2>Profile Summary</h2>
<p>
</p>
<h2>Education</h2>
<ul>
</ul>
<h2>Work Experience</h2>
<p>2023 - Present</p>
<ul>
</ul>
<h3>Intern Web Developer - XYZ Solutions</h3>
<p>2022 - 2023</p>
<ul>
</ul>
<h2>Skills</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
<li>React</li>
</ul>
<h2>Languages</h2>
<ul>
<li>English - Fluent</li>
<li>Hindi - Native</li>
</ul>
</body>
</html>
Result:
Conclusion
In this experiment, we successfully created a CV webpage and implemented frames in HTML
to display content dynamically. The following key concepts were demonstrated:
● Creating a structured CV webpage (cv.html) using HTML elements like headings
(<h1>, <h2>), paragraphs (<p>), and lists (<ul>).
● Using frames (frame.html) to divide the webpage into two sections:
● A navigation frame (menu.html) containing links.
● A content frame (cv.html by default) where linked pages are displayed. ● Implementing
hyperlink navigation within frames to load different pages (cv.html and about.html) in
the content frame dynamically.
● Ensuring seamless content display when clicking on links, demonstrating how frames
can be used for better content organization.