Perform the following steps to build the blog:
Open the
index.html
file that we have created in step 6 of the previous section Time for action – creating and organizing project directories and assets. Let's start by adding the most basic HTML5 structure as follows:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Blog</title> </head> <body> </body> </html>
Here, set
DOCTYPE
, which has been brought to the bare minimum form. TheDOCTYPE
format in HTML5 is now shorter and cleaner than theDOCTYPE
format of its HTML4 counterpart. Then, we set the language of our page, which in this case is set toen
(English). You may change it to your local language; find the code for your local language at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.We have also set the character encoding to
UTF-8
to enable the browser to render the Unicode characters, such asU+20AC
, to the...