HTML Tutorial for Beginner – Headings

Headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading.
<!DOCTYPE html>
<html>
<body><h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6></body>
</html> Read more

HTML Tutorial for Beginner – Elements

HTML Element Syntax

  • An HTML element starts with a start tag / opening tag
  • An HTML element ends with an end tag / closing tag
  • The element content is everything between the start and the end tag
  • Some HTML elements have empty content
  • Empty elements are closed in the start tag
  • Most HTML elements can have attributes Read more

HTML Tutorial for Beginner – Editors

What do I need to create HTML?

You don’t need any special equipment or software to create HTML. In fact, you probably already have everything you need. Here is what you need:

  • Computer
  • Text or HTML editor. Most computers already have a text editor and you can easily create HTML files using a text editor. Having said that, there are definite benefits to be gained in downloading an HTML editor. If you want the best HTML editor, and you don’t mind paying money for it, you can’t go past Adobe Dreamweaver. Dreamweaver is probably the best HTML editor available, and you can download a trial version for starters. Read more

HTML Tutorial for Beginner – Introduction

Example Explained

  • The DOCTYPE declaration defines the document type
  • The text between <html> and </html> describes the web page
  • The text between <body> and </body> is the visible page content
  • The text between <h1> and </h1> is displayed as a heading
  • The text between <p> and </p> is displayed as a paragraph Read more