HTML5

HTML is simply the standard markup langauge used to create web pages. It is called HyperText Markup Language. HTML elements do consist of tags enclosed in angle brackets as seen: <html>

HTML elements have opening and closing tags. For example, <p></p>

Specific HTML tags are used to describe different contents of documents. A simple example of HTML document canbe seen below:


<!DOCTYPE html>

<html>

<head>
<title>Page Title</title>
</head>

<body>

<h1>Your First Heading</h1>

<p>Your first paragraph.</p>

</body>

</html>


 Explaining the above document tags:

  • The DOCTYPE declaration defines the document type to be HTML
  • The text between <html> and </html> describes an HTML document
  • The text between <head> and </head> provides information about the document
  • The text between <title> and </title> provides a title for the document
  • The text between <body> and </body> describes the visible page content
  • The text between <h1> and </h1> describes a heading
  • The text between <p> and </p> describes a paragraph

Note that, using this descriptions, a web browser (Chrome, IE, Mozilla etc ) can display a document with a heading and a paragraph, as long as your execute the codes accurately.

To write an HTML code, you will need a text editor such as Notepad or TextEdit. Notepad is available in PC while TextEdit in Mac. There are also some professional HTML editors like:

  • Adobe Dreamweaver
  • Microsoft Expression Web
  • CoffeeCup HTML Editor

For beginers, you are recommended to use simple text editor, to ease your learning.

Leave a comment