HTML – Introduction

You’re probably wondering, what is HTML and why do I need it. Well it’s simple really. HTML is the foundation code behind the layout of any web page.  It allows you to structure your content into neatly sorted building block which are called elements. Once your content is neatly sorted, you can then apply styles to each element to make it look pretty.  Such styling is possible with the help of CSS which we will get into a bit later.

HTML elements are represented by tags. You can think of tags as labels which allow you to identify elements and their purpose. Each element consists of an opening and a closing tag to signify the beginning and the end of a particular element.  When our web browser loads a web page, it uses these tags to identify each element in order to put together the content of the page. Once our page has loaded, the tags will no longer be visible, only the elements which the tags have created, will be displayed.

Example code:

<h1>This is a heading element</h1>
<p>This is a paragraph element.</p>


  • Elements are the building blocks which structure your web page.
  • Each element is represented by an opening and a closing tag.
  • Tags are like labels which help both you and the web browser identify each element.

Leave a Reply

Your email address will not be published. Required fields are marked *