Updating Our Template

Declare Character Set

One final requisite we need to add to our HTML doc is the charset meta tag. Declaring a character set can help some browsers interpret your page correctly. We'll use utf-8, which is short for: Unicode Transformation Format-8. What's that mean? It doesn't matter for our purposes. If you're infinitely curious you can search out more information.

We place meta tags inside the head element, and they follow the standard HTML convention:

<tag attribute="value">

So our new statements is:

<meta charset="utf-8">

We'll also declare a character set at the start of our .css file:

@charset "utf-8";

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player