HTML Tutorial

HTML Tutorial - (HTML5 Standard)

Hypertext Markup Language (HTML) is a standard markup language used for creating web pages.

You can utilize HTML to establish your own web sites. HTML operates within browsers and is interpreted by them.

In this tutorial, you will learn how to use HTML for building websites.

HTML is easy to learn! We believe you will quickly grasp it.

HTML Examples

This tutorial includes hundreds of HTML examples.

Using our editor, you can effortlessly modify HTML online and observe the running results of the examples.

Note: For Chinese web pages, declaring the encoding using <meta charset="utf-8"> is necessary to avoid garbled characters. Some browsers (such as 360 Browser) might default to GBK encoding; in that case, you need to set <meta charset="gbk">.

Example:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML Tutorial</title>
</head>
<body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
</body>
</html>

HTML Document Extensions

  • .html
  • .htm

Both of these extensions are interchangeable and can be used.