Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Building a Complete Website with HTML | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
HTML Basics for Absolute Beginners (Sliced) - 1768407373666

bookBuilding a Complete Website with HTML

We've now covered the core HTML concepts and are ready to build a complete one-page portfolio website from scratch.

You can try building it on your own or follow this step-by-step guide with code for each part.

Step-by-Step Guide

1. Website Structure Plan

Our portfolio page will include:

  • Header: site title and navigation links;
  • About: a short intro about the owner;
  • Portfolio: projects with images, titles, and short descriptions;
  • Contact: a form for visitors to reach out;
  • Footer: copyright and contact/social links.

2. Structure Content with Semantic HTML

Create a new index.html file and add the basic HTML structure with <!DOCTYPE html>, <html>, <head>, and <body>.

index.html

index.html

copy

3. Header Section

Add a <header> with the owner's name and a <nav> containing links that jump to the About, Portfolio, and Contact sections.

index.html

index.html

copy

4. About Section

Create an <section id="about"> with a heading and a short paragraph describing the owner.

index.html

index.html

copy

5. Portfolio Section

Add a <section id="portfolio"> that lists projects with images, titles, and brief descriptions.

index.html

index.html

copy

6. Contact Section

Create a <section id="contact"> with a simple contact form that collects name, email, and message.

index.html

index.html

copy

7. Footer Section

Finish the page with a <footer> that includes copyright text and links to social media, phone, and email.

index.html

index.html

copy

Bonus

To make the page more visually appealing, we can connect a CSS file and style our HTML. CSS controls colors, spacing, fonts, and layout, helping the same structure look much more polished.

For now, simply compare how the page looks with plain HTML and how it changes once basic CSS styles are applied.

index.html

index.html

index.css

index.css

copy

Here is the link to the complete website that was built in this chapter: Julia's Website

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 34

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

bookBuilding a Complete Website with HTML

Svep för att visa menyn

We've now covered the core HTML concepts and are ready to build a complete one-page portfolio website from scratch.

You can try building it on your own or follow this step-by-step guide with code for each part.

Step-by-Step Guide

1. Website Structure Plan

Our portfolio page will include:

  • Header: site title and navigation links;
  • About: a short intro about the owner;
  • Portfolio: projects with images, titles, and short descriptions;
  • Contact: a form for visitors to reach out;
  • Footer: copyright and contact/social links.

2. Structure Content with Semantic HTML

Create a new index.html file and add the basic HTML structure with <!DOCTYPE html>, <html>, <head>, and <body>.

index.html

index.html

copy

3. Header Section

Add a <header> with the owner's name and a <nav> containing links that jump to the About, Portfolio, and Contact sections.

index.html

index.html

copy

4. About Section

Create an <section id="about"> with a heading and a short paragraph describing the owner.

index.html

index.html

copy

5. Portfolio Section

Add a <section id="portfolio"> that lists projects with images, titles, and brief descriptions.

index.html

index.html

copy

6. Contact Section

Create a <section id="contact"> with a simple contact form that collects name, email, and message.

index.html

index.html

copy

7. Footer Section

Finish the page with a <footer> that includes copyright text and links to social media, phone, and email.

index.html

index.html

copy

Bonus

To make the page more visually appealing, we can connect a CSS file and style our HTML. CSS controls colors, spacing, fonts, and layout, helping the same structure look much more polished.

For now, simply compare how the page looks with plain HTML and how it changes once basic CSS styles are applied.

index.html

index.html

index.css

index.css

copy

Here is the link to the complete website that was built in this chapter: Julia's Website

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 34
some-alt