HTML and CSS Reference
In-Depth Information
Blog Creation
Another important part of HTML5 is the ability to easily create a blog, and make posts for
it. This is a relatively easy thing to do, so it will not take long. After all, if it was difficult to
create a blog post, people might not prefer to use HTML5 to do so.
The first thing that you will need to do is start a new file in Sublime Text 2, and save it as
“Index.html”. Next, the same boilerplate that you used to create the form will need to be ad-
ded.
It will probably be difficult to remember, but that boilerplate looks like this:
1 <!doctype html>
2 <html lang="en">
3 <head>
4
<meta charset="UTF-8">
5
<title>Document</title>
6 </head>
7 <body>
8
9 </body>
10 </html>
Next, you will need to use the tag for an “article”, which will denote that the content within
is for a blog post or main article on the page (a blog post in this case, but they form the same
function). If you know any HTML, you will be aware of the “<p>” tag. If not, that's per-
fectly fine. “<p>” is used in front of a new paragraph of text.
Search WWH ::




Custom Search