Simple HTML & CSS Portfolio Website Examples

Creating a simple portfolio website is an excellent way to showcase your work, skills, and personal brand. With HTML and CSS, you can build a professional and engaging online presence without needing to learn complex programming languages. In this guide, we'll explore how to create a simple portfolio website using HTML and CSS, with practical examples to help you get started.

Portfolio Website UI | Frontend Developer
Portfolio Website UI | Frontend Developer

Before diving into the code, let's briefly discuss why HTML and CSS are perfect for building a portfolio website. HTML (HyperText Markup Language) is the standard markup language for creating web pages, while CSS (Cascading Style Sheets) is used to style and layout these web pages. Together, they allow you to create visually appealing and functional websites tailored to your needs.

Soft Personal Portfolio – Clean HTML/CSS Website 🌸
Soft Personal Portfolio – Clean HTML/CSS Website 🌸

Setting Up Your Portfolio Website Structure

To begin, let's establish the basic structure of your portfolio website using HTML. A simple portfolio typically includes a header, navigation menu, hero section, about page, portfolio projects, and a footer. Here's an example of how you can structure your HTML file:

My Personal Portfolio Website | Creative Web Design
My Personal Portfolio Website | Creative Web Design

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Your Name - Portfolio</title> </head> <body> <header> <h1>Your Name</h1> </header> <nav> <ul> <li><a href="#about">About</a></li> <li><a href="#projects">Projects</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> <section id="about"> <h2>About</h2> <p>Your bio goes here.</p> </section> <section id="projects"> <h2>Projects</h2> <div>Your projects go here.</div> </section> <footer> <p>Copyright &copy; Your Name</p> </footer> </body> </html>

Creating the Header and Navigation Menu

How To Make A Portfolio Website Using HTML CSS JS | Complete Responsive Website Design
How To Make A Portfolio Website Using HTML CSS JS | Complete Responsive Website Design

The header and navigation menu are crucial elements for any website. In the example above, we've created a simple header containing your name and a navigation menu using an unordered list (<ul>). Each list item (<li>) represents a link to different sections of your portfolio.

To make the navigation menu more visually appealing, you can use CSS to style it. Here's an example of how you can style the navigation menu:

<style> nav ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; } nav li { float: left; } nav li a { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } nav li a:hover { background-color: #111; } </style>

Styling the Hero Section

Personal Portfolio Website
Personal Portfolio Website

The hero section is the first thing visitors see when they arrive at your portfolio website. To make a strong first impression, you can add an engaging image, a brief introduction, and a call-to-action button. Here's an example of how you can create a hero section using HTML and CSS:

<section id="hero"> <img src="your-image.jpg" alt="Your Name"> <h1>Your Name</h1> <p>A brief introduction about yourself.</p> <a href="#about" class="btn">Learn More</a> </section> <style> #hero { text-align: center; padding: 50px; background-color: #f8f9fa; } #hero img { max-width: 100%; height: auto; border-radius: 50%; } #hero h1 { font-size: 3rem; margin-bottom: 1rem; } #hero p { font-size: 1.25rem; color: #6c757d; } .btn { display: inline-block; padding: 1rem 2rem; background-color: #007bff; color: white; text-decoration: none; border-radius: 0.25rem; margin-top: 2rem; } .btn:hover { background-color: #0062cc; } </style>

Showcasing Your Projects

Displaying your projects is the core of your portfolio website. You can create a grid layout to showcase your projects using CSS Flexbox or Grid. Here's an example of how you can create a simple project grid using CSS Flexbox:

Personal Portfolio Website Figma UIUX Design | Web Design | UI Design | UX Design
Personal Portfolio Website Figma UIUX Design | Web Design | UI Design | UX Design

<section id="projects"> <h2>Projects</h2> <div class="project-grid"> <div class="project"> <img src="project1.jpg" alt="Project 1"> <h3>Project 1</h3> <p>A brief description of the project.</p> <a href="#">View Project</a> </div> <!-- Add more projects here --> </div> </section> <style> .project-grid { display: flex; flex-wrap: wrap; gap: 2rem; } .project { flex: 1 0 300px; margin-bottom: 2rem; } .project img { width: 100%; height: auto; } .project h3 { font-size: 1.5rem; margin-top: 1rem; } .project a { display: inline-block; padding: 0.5rem 1rem; background-color: #007bff; color: white; text-decoration: none; border-radius: 0.25rem; margin-top: 1rem; } .project a:hover { background-color: #0062cc; } </style>

Responsive Design

Ensuring your portfolio website looks good on various devices and screen sizes is crucial. You can achieve this by using media queries in CSS. Here's an example of how you can make the project grid responsive:

Jackson - Best Personal Portfolio Website Template - Colorlib
Jackson - Best Personal Portfolio Website Template - Colorlib
Free Portfolio Website Template — Portavia | Framer
Free Portfolio Website Template — Portavia | Framer
Portfolio Website Design
Portfolio Website Design
Portfolio | CV | Graphic Design | Digital Marketing - Han Nguyen
Portfolio | CV | Graphic Design | Digital Marketing - Han Nguyen
an image of a web page with many different screensavers and colors on it
an image of a web page with many different screensavers and colors on it
Designer Favorite: 20+ Free Portfolio Templates
Designer Favorite: 20+ Free Portfolio Templates
50 Mindblowing Portfolio Sites To Inspire Yours
50 Mindblowing Portfolio Sites To Inspire Yours
Jurgen Hideni - Web Developer Portfolio - Jurgen Hideni
Jurgen Hideni - Web Developer Portfolio - Jurgen Hideni
18 Exciting HTML and CSS Project Ideas with source code to Level Up Your Web Development Skills
18 Exciting HTML and CSS Project Ideas with source code to Level Up Your Web Development Skills
the landing page for a website with an image of a man in a suit
the landing page for a website with an image of a man in a suit
ReactJS, TailwindCSS Framer Motion, Particle | Responsive Portfolio Website with Advanced Animations
ReactJS, TailwindCSS Framer Motion, Particle | Responsive Portfolio Website with Advanced Animations
Brooks - Website Designer Portfolio Website
Brooks - Website Designer Portfolio Website
Complete Modern & Responsive Portfolio Website in Vue js with Tailwind Css
Complete Modern & Responsive Portfolio Website in Vue js with Tailwind Css
How to create Portfolio Website Using HTML and CSS | Full Web Design Process [STEP-BY-STEP GUIDE]
How to create Portfolio Website Using HTML and CSS | Full Web Design Process [STEP-BY-STEP GUIDE]
Web Portfolio 2
Web Portfolio 2
Your Standout Portfolio-Zero Code Needed
Your Standout Portfolio-Zero Code Needed
The Best-Looking Web Developer Portfolio Examples
The Best-Looking Web Developer Portfolio Examples
35+ Inspiring Personal Portfolio Websites in 2025
35+ Inspiring Personal Portfolio Websites in 2025
Creative Portfolio Website Design Inspiration | Modern Web Designer UI UX Portfolio
Creative Portfolio Website Design Inspiration | Modern Web Designer UI UX Portfolio
Top 100 Most Creative and Unique Portfolio Websites | Muzli Blog
Top 100 Most Creative and Unique Portfolio Websites | Muzli Blog

<style> @media (max-width: 768px) { .project-grid { flex-direction: column; } .project { flex: 1 0 100%; } } </style>

With these HTML and CSS examples, you now have a solid foundation for creating a simple yet engaging portfolio website. As you continue to develop your website, you can explore more advanced CSS techniques, such as animations, transitions, and custom properties. Don't forget to regularly update your portfolio with new projects and content to keep it fresh and relevant.

Happy coding, and good luck with your portfolio website!