Next, go to the <head>
tag and add a <meta>
tag to define the character set for the HTML file. Then add a <meta>
tag defining how mobile devices should render the page, set the title of the page, and finally load the CSS file that you will make later with a <link>
tag.
These additions are highlighted in the following code block. You will encounter this highlighting method throughout the tutorial as code is added and changed:
index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About CSS Selectors</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
</body>
</html>
Copy
After adding the <head>
content, move to the <body>
element where you will add conten