HTML and CSS Reference
In-Depth Information
Instead of typing out your an actual blog post right now, just enter something random, like
“Hello world! How are you today!?”
1 <!doctype html>
2 <html lang="en">
3 <head>
4
<meta charset="UTF-8">
5
<title>Document</title>
6 </head>
7 <body>
8 <section>
<article>
<p> Hello world! How are you today!? </p>
<p> Hello world! How are you today!? </p>
<p> Hello world! How are you today!? </p>
</article>
</section>
9 </body>
10 </html>
What you have just coded will create a basic page that contains the phrase “Hello world!
How are you today!?” repeated three times, with paragraph breaks in between each. Notice
how the “</p>” tag is closed with “</p>” to declare that you have finished with that para-
graph of text. Without properly closing tags, your code will not work as desired at all.
This looks pretty boring, but you will learn how to choose a different font in the next topic.
Search WWH ::




Custom Search