Home › HTML Tutorial › Live project: Personal profile page
Live project: Personal profile page
Build a complete profile web page from scratch.
Put everything from this course together in one real page that you can show to others.
What you will build
- A header with your name
- About, skills and projects sections
- A table and a contact form
Steps
- Read the code and find each part: head, style, header, headings, list, table and form.
- Change the name, skills and projects to your own.
- Press Run and check the page.
- Save the code as
index.htmland open it in your browser.
Run it
Press Run to see the project work. Then change the data in the editor and run it again.
Challenge
- Add a photo with
imgand a link to your social profile. - Add a second table for your education.
Commands in this lesson
img
Definition: Embeds an image in the page.
Syntax:
<img src="file" alt="description">
Example:
<img src="x.png" alt="A sleeping cat">Example code
<!DOCTYPE html>
<html>
<head>
<style>
body { font-family: sans-serif; max-width: 520px; margin: 24px auto; color: #14213d; }
header { background: #87ceeb; padding: 16px; border-radius: 10px; }
h1 { margin: 0; }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid #ccc; padding: 6px; text-align: left; }
button { background: #14213d; color: #fff; border: 0; padding: 8px 14px; border-radius: 6px; }
</style>
</head>
<body>
<header><h1>Asha Verma</h1><p>Web developer in training</p></header>
<h2>About me</h2>
<p>I build small websites and love learning new things.</p>
<h2>Skills</h2>
<ul><li>HTML</li><li>CSS</li><li>JavaScript</li></ul>
<h2>Projects</h2>
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr><td>Portfolio</td><td>Website</td></tr>
<tr><td>Quiz</td><td>App</td></tr>
</table>
<h2>Contact</h2>
<form><input placeholder="Your email" required> <button>Send</button></form>
</body>
</html>