Introduction to HTML : Introduction

Introduction

Hypertext Markup Language (HTML) is a markup language used to instruct a browser in how to structure web pages. HTML is therefore a presentational language rather than a programming language. Elements are used to wrap different contents within HTML. An element consists of four main parts:

  1. An opening tag: This is the name of an element enclosed within angle brackets (<>). Example: <p>
  2. A closing tag: This is the name of an element starting with a forward slash and enclosed within angle brackets. A closing tag indicated where an element ends. Example: </p>
  3. Content: This is the actual content demarcated with the opening and enclosing tags.

So an example of an element that renders a paragraph in your browser is: 

<p>This is a paragraph.</p>

course logo
Introduction to HTML
Number of sections:
11
Content length:
Delivery formats: