How to edit your HTML & CSS resume

Everything you need to turn your downloaded template into a polished, personal resume. No prior coding experience required — if you can edit text in a document, you can do this.

Getting started

Every template you download is a self-contained folder with two key files plus an optional photo. You don't need any special software, just a text editor and a web browser, both of which are already on your computer.

The HTML file controls what shows up on the page (your name, experience, skills). The CSS file controls how it looks (colors, fonts, spacing). You'll mostly edit the HTML to swap in your own content, and tweak a few lines in the CSS to personalize the style.

You don't need to know how to code. The comments inside each file tell you exactly which lines to change and what to put there.

Opening your files

After downloading, unzip the folder. Inside you'll find:

  • index.html - the resume content
  • styles.css - the styling rules
  • email.php - the contact form script (see "Setting up the contact form" below)
  • images/ - folder containing all template preview images and assets, referenced via src="/images/..." links
  • photo.jpg - placeholder photo (optional)

To open them, use any text editor. On most computers, right-click the file and choose Open With, then pick a text editor. Recommended free options:

VS Code
Mac, Windows, Linux
Notepad++
Windows
TextEdit
Mac

Double-click index.html to open the resume in your browser and see your changes live as you save.

Editing your content

Open index.html in your text editor. You'll see a structure that looks like this, with comments marking each section:

<!-- HERO: your name and title -->
<h1>Alex Morgan</h1>
<p class="role">Product Designer</p>
<!-- EXPERIENCE -->
<div class="job">
<h3>Senior Designer · Nimbus</h3>
<span class="date">2022 — Now</span>
<p>Led the redesign of...</p>
</div>

Replace the text between the tags with your own. For example, change Alex Morgan to your name, and the job details to match your experience. The tags themselves (like <h1> and </h1>) should stay, only the text inside them changes.

To add another job, copy the entire <div class="job"> ... </div> block, paste it after the last one, and fill in the new details.

Changing colors

Open styles.css and scroll to the top. You'll find a block of CSS variables, these control the entire color scheme in one place:

:root {
--accent: #004cff;/* main color */
--accent-dark: #003dcc;/* darker shade */
--text: #1a1a2e;/* body text */
--bg: #ffffff;/* background */
--muted: #6b7280;/* secondary text */
}

Change the hex color values to any color you like. For example, swap #004cff for #2563eb for a slightly different blue, or #059669 for green. Every part of the resume that uses the accent color will update automatically.

Blue #004cff
Emerald #059669
Rose #e11d48
Amber #d97706
Slate #334155

Changing fonts

In the same styles.css file, near the top, you'll find the font variables:

--font-heading: "Space Grotesk", sans-serif;
--font-body: "Inter", sans-serif;

Replace the font name with any Google Font. First, grab the font link from fonts.google.com and paste it into the <head> section of your HTML file, then update the variable here. The heading and body fonts can be different - pair a bold display font for headings with a clean readable font for body text.

Editing skill bars

Many templates include animated skill bars that show your proficiency as a percentage. Each skill bar has two parts: the skill name and the percentage value. Both are edited in index.html.

The HTML structure

Open index.html and look for the skills section. It looks like this:

<!-- SKILLS -->
<div class="skill">
<span class="skill-name">HTML &amp; CSS</span>
<div class="skill-bar">
<div class="skill-fill" style="width: 90%"></div>
</div>
<span class="skill-pct">90%</span>
</div>

Changing the percentage

There are two places the percentage appears, and both must match:

  1. The width: value inside style="width: 90%" — this controls how far the bar fills
  2. The text inside <span class="skill-pct"> — this is the label shown next to the bar

For example, to show 75% instead of 90%, change both to 75%:

<div class="skill-fill" style="width: 75%"></div>
<span class="skill-pct">75%</span>

Always update the width value and the skill-pct text to the same number. If they don't match, the bar length and the label will disagree.

Changing the skill name

Replace the text inside <span class="skill-name"> with your own skill. For example, change HTML & CSS to JavaScript or Figma.

Adding a new skill bar

To add another skill, copy an entire <div class="skill"> ... </div> block and paste it after the last one. Then change the skill name and percentage to the new values:

<div class="skill">
<span class="skill-name">Photoshop</span>
<div class="skill-bar">
<div class="skill-fill" style="width: 85%"></div>
</div>
<span class="skill-pct">85%</span>
</div>

Removing a skill bar

Delete the entire <div class="skill"> ... </div> block for the skill you want to remove. Make sure you delete from the opening <div class="skill"> tag through its matching closing </div> tag.

Customizing the bar colors and animation

To change the fill color or the bar background, open styles.css and look for the .skill-fill and .skill-bar classes:

/* Bar background track */
.skill-bar {
background: #e5e7eb; /* track color */
border-radius: 4px;
}
/* Filled portion */
.skill-fill {
background: var(--accent); /* uses your accent color */
transition: width 1s ease; /* animates on load */
}

Change background: var(--accent) to any color you like, or adjust the transition duration to make the animation faster or slower (e.g. width 0.5s ease for a quicker fill).

Adding a photo

Some templates include a photo slot. To use your own:

  1. Save your photo as photo.jpg in the same folder
  2. Open index.html and find the line with <img src="photo.jpg">
  3. Replace the filename if yours is different, e.g. <img src="my-photo.jpg">

For best results, use a square image at least 400×400 pixels. You can adjust the photo size and shape in the CSS file - look for the .photo or .avatar class.

Making it responsive

Eery template is already responsive. It automatically adapts to phones, tablets, and desktops. You don't need to do anything extra.

If you want to fine-tune the mobile layout, look for sections in the CSS wrapped in @media rules. These contain styles that only apply at certain screen widths:

/* Phone layout */
@media (max-width: 640px) {
.sidebar { display: none; }
.content { padding: 16px; }
}

Adjust the values inside these blocks to change how the resume looks on smaller screens.

Exporting a PDF

Once your resume looks the way you want, exporting a PDF is built right into your browser:

  1. Open index.html in your browser
  2. Press Ctrl + P (Windows) or Cmd + P (Mac)
  3. Set the destination to Save as PDF
  4. Choose Letter or A4 paper size
  5. Turn off headers and footers for a clean export
  6. Click Save

For the cleanest PDF, set margins to "None" in the print dialog. The template already includes print-friendly spacing.

Setting up the contact form

Every template comes with a ready-to-use contact form powered by a PHP script. When someone fills out the form on your site, their message lands straight in your inbox. You only need to do one thing: add your email address.

Inside your template folder you'll find a file called email.php. Open it in any text editor. Near the top of the file you'll see a line like this:

// === CONFIG: set your email here ===
$to = "you@example.com"; // change this to your email
// Subject line for emails you receive
$subject = "New message from your resume site";

Replace you@example.com with the email address where you want to receive messages. That's it, save the file and upload it alongside your other template files.

The form works on Hostinger and any web host that supports PHP, which includes nearly all shared hosting providers. If you're hosting on a platform without PHP (like Netlify or Vercel), you can use a free form service instead, see the note at the bottom of this section.

How it works

  1. A visitor fills out the contact form on your resume page and clicks send
  2. The form sends the data to email.php on your server
  3. The PHP script emails the message to the address you set above
  4. The visitor sees a "Message sent" confirmation on the page

Uploading to your host

For the form to work, both files need to be on a PHP-enabled server:

  1. Upload index.html and email.php to your hosting account (e.g. Hostinger's File Manager or via FTP)
  2. Make sure both files are in the same folder
  3. Open your site in a browser and test the form, send yourself a message to confirm it works

If the message doesn't arrive, check your spam folder first. Some hosts may require you to use an email address that matches your domain (e.g. contact@yourdomain.com) for the $to or as the From header. Check your host's documentation for specifics.

No PHP? No problem

If your host doesn't support PHP, you can swap the form for a free third-party service without touching the PHP file:

  • Formspree - point your form to https://formspree.io/f/your-id and messages forward to your email
  • Getform - similar setup, free tier available
  • Web3Forms - free, no signup, just paste an access key

Each of these just needs the form's action attribute updated in index.html - your PHP file stays untouched in case you move to a PHP host later.

Publishing online

Want to share your resume as a link instead of a file? You can host it for free on several platforms:

Netlify Drop
Drag the folder onto the page. Done.
GitHub Pages
Push to a repo, enable Pages in settings.
Vercel
Import the folder and deploy in one click.
Cloudflare Pages
Upload and connect your domain.

Once deployed, you'll get a public URL you can share in emails, on LinkedIn, or anywhere else. Update your resume anytime by editing the files and re-uploading.