codegurukool.com · Free coding tutorials & online compiler

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

Steps

  1. Read the code and find each part: head, style, header, headings, list, table and form.
  2. Change the name, skills and projects to your own.
  3. Press Run and check the page.
  4. Save the code as index.html and 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

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>

Run this code in the online editor

← Server-sent events API