Lesson 1 - Introduction to HTML

HTML stands for Hyper Text Markup Language and is comprised of tags which are structured as follows:

content goes here...

Every HTML page has the following standard tags:

  • html
  • head
  • body

Note that tags are closed using:

</tagname>

An example of a basic HTML page is as follows:

<!DOCTYPE html>
<html>
 <head>
 <title>Title</title>
 </head>
 <body>
 <h1>Some heading text</h1>
 <p>Some paragraph text</p>
 </body>
</html>

The above code is rendered as follows:

Some heading text

Some paragraph text