coding180 icon


Introduction to Html Elements

Introduction to Html Elements

Tutorials > HTML > HTML Introduction

HTML Elements are the building block of a webpage. We use elements to define the structure of our HTML document.  HTML is typically made up of:

  • Opening tag
  • Content
  • Closing tag

HTML Element syntax



The above example shows how to write a simple text paragraph using p tag.

HTML Attributes 

Attribute defines how an element behaves. It’s a key/value pair that is written inside an opening tag.

For example: href="" attribute in a link <a> tag specifies the destination of a link when clicked.

We will talk on more on Elements, tags and attributes in the coming lessons.


Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel