Time for action – building the website HTML structure

In this section, we are going to build the website's HTML structure. You will find that a few of the elements that we are going to add herein will be similar to the ones we added in the first website, responsive blog. Hence, the following steps will be straightforward. If you have followed the first through to the end, these steps should also be easy to follow. Let's carry on.

  1. Open index.html. Then, add the basic HTML structure, as follows:
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <title>Portfolio</title>
    </head>
    <body>
      
    </body>
    </html>
  2. Below <meta charset="UTF-8">, add a meta tag to address the Internet Explorer rendering compatibility:
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> ...

Get HTML5 and CSS3: Building Responsive Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.