Plan a portfolio and article structure
A project is a chance to combine document structure, links, lists, images, and semantic grouping into a coherent site.
✓ What you will learn in this topic
- Explain the purpose of Plan a portfolio and article structure in a real HTML document.
- Choose and apply the elements shown in both examples.
- Recognize the specific mistake described in this lesson.
Concept explanation
Begin with the visitorâs goal and the pages needed to support it. A portfolio might include a home page, project list, project details, and contact page. Give each page a unique title and main heading. Reuse navigation consistently, but ensure each link has a working destination. An article should have a clear title, sections, and attribution or publication context where useful.
Syntax
Write a page outline first, then build each page from the document shell and meaningful content elements.
Example 1: a small page
The article introduces one project and points to a working detail page.
<article>
<h1>Rain garden planner</h1>
<p>A guide to planning a small rain garden.</p>
<a href=\"projects.html\">See the project details</a>
</article>Expected result: A project title, summary, and link to further information appear.
Example 2: a practical page
Shared identity and navigation lead to a main content list with a descriptive project link.
<header><a href=\"index.html\">Maya Lee â Portfolio</a></header>
<nav aria-label=\"Portfolio\"><a href=\"projects.html\">Projects</a><a href=\"contact.html\">Contact</a></nav>
<main><h1>Selected projects</h1><ul><li><a href=\"rain-garden.html\">Rain garden planner</a></li></ul></main>Expected result: A simple portfolio landing page connects visitors to the project detail and contact pages.
Common mistakes
Do not copy a projectâs visual structure before deciding its content outline, link destinations, and form behavior.
Best practices
Plan the pages and shared navigation first; make every page reachable and every form control labeled.
Practice exercise
Build five linked pages for a personal portfolio, contact form, product details, blog article, and student registration. Use semantic page structure, meaningful links, labels, and valid form destinations, then validate every page.
Lesson summary
- A good project starts with a clear page map and meaningful links between real destinations.
- Plan the pages and shared navigation first; make every page reachable and every form control labeled.
Knowledge check
What should you verify after creating several linked portfolio pages?
Show the explanation
Check that every link points to an existing, correctly named page and that each page has a clear title and main heading.
Practical example
html<article>
<h1>Rain garden planner</h1>
<p>A guide to planning a small rain garden.</p>
<a href=\"projects.html\">See the project details</a>
</article>
Expected result:
A project title, summary, and link to further information appear.
Hands-on practice task
Build five linked pages for a personal portfolio, contact form, product details, blog article, and student registration. Use semantic page structure, meaningful links, labels, and valid form destinations, then validate every page.
In this section
Other lessons in Practical HTML Projects
Broaden your knowledge