HTML and CSS Reference
In-Depth Information
Note: When our bookmark is near the bottom of a page, a browser might not be
able to scroll the bookmark all the way to the top of its window if there is insuffi-
cient content. Instead, the bookmarked section will appear somewhere in the middle
of the browser window.
Let's continue and create bookmark links to all <h2> headings in our sample CV. The final
code should look something like this:
<!DOCTYPE html>
<html>
<head>
<meta charset=”utf-8”>
<title>Curriculum Vitae</title>
</head>
<body>
<h1>Curriculum Vitae</h1>
<p><img src="images\cv_picture.jpg" alt="Scott Johnson profile picture" width="100" height ="150">
</p>
<p><a href="#personal">Personal Information</a></p>
<p><a href="#education">Education</a></p>
<p><a href="#skills">Skills</a></p>
<p><a href="#portfolio">Portfolio</a></p>
<h2 id="personal">Personal Info</h2>
<p><strong>Name:</strong> Scott Johnson</p>
<p><strong>Occupation:</strong> Web Designer</p>
<p><strong>Date of birth:</strong> 09/09/1980</p>
<p><strong>Address:</strong> <br>
 
Search WWH ::




Custom Search