HTML - Introduction

Introduction to HTML

HTML (Hypertext Markup Language) is a markup language that is used for the creation of web pages. It consists of different elements which allows you to place anything inside your web page. Headings, Paragraphs, Links, Images, Lists, Tables, Forms, Buttons, Videos, Audio files etc.

Simple HTML Document

Example

  • <!DOCTYPE html> - This is a declaration that tells the browser, that this is an HTML5 Document.
  • <html> - The document root element of the page that serves as container for other elements.
  • <head> - This element serves as a container for information (meta data) about the HTML page.
  • <title> - This element contains the title of the document, which is usually seen in browser's title bar. It is coded inside the <head> tag.
  • <body> - This is the element that serves as a container for everything that will be visible on the web page such as: headings, paragraphs, links, images etc.
  • <h1> - This element is used to define first/biggest heading
  • <p> - This element is used to define paragraph
tips
TIP:

All the elements above are usually called Boilerplate (the major structure of an HTML page).

As you continue with this tutorial, I am going to put you through everything you need to know about HTML and how to start building your own webpages and full websites with ease!

ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT