HTML stands for Hypertext Markup Language, and it is used to write/format web pages with the help of different tags available in HTML language. The current version of HTML is HTML5.
This tutorial will help you learn the essentials of HTML, including the idea of elements and attributes, way of formatting the text using HTML tags, methods of adding the style information to the document, technique of inserting images and tables, process of creating lists and forms.
Every chapter in this tutorial contains lots of practice examples that you can try and test yourself using our online editor to extend your learning. The purpose of these examples is to provide you a better understanding of the usage of HTML.
<h1>This is a Heading</h1>
<p>This is a Paragraph</p>
Click the Run code button to see the result or save the above code in your Computer as demo.html and open it in a browser.
<!DOCTYPE html>declaration defines this document to be HTML5
<html>element is the root element of an HTML page
<head>element contains meta-data information about the document
<title>element specifies a title for the document
<body>element contains the visible page content
<h1>element defines a heading
<p>element defines a paragraph
This tutorial will give you enough ingredients and examples so that you can easily understand every topic. However, before learning HTML you must familiar with the following topics:
To create a web page you need a Text editor and a browser.
Your HTML5 document must end with .html extension.
The reference section will give you the detailed information about the latest HTML5 elements, attributes, events, HTTP methods and more.Go to HTML Reference