HTML Tutorial

Hypertext Markup Language (English: HyperText Markup Language, HTML for short) is a standard markup language used to create web pages.

You can use HTML to build your own WEB site. HTML runs on the browser and is parsed by the browser.

In this tutorial, you will learn how to use HTML to create a site.

HTML is easy to learn! I believe you can learn it soon!

HTML example

This tutorial contains hundreds of HTML examples.

Using the editor of this site, you can easily modify the HTML online and view the results of the instance operation.

Note: For Chinese web pages, you need to use the <meta charset=”utf-8″> declaration encoding, otherwise garbled characters will appear. Some browsers (such as 360 browser) will set GBK as the default encoding, you need to set it to <meta charset=”gbk”>.

Example

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

The suffix of the HTML document

  • .html
  • .htm

There is no difference between the above two suffixes, and both can be used.

Start learning HTML!

HTML example

Hundreds of online examples are included in the HTML manual, and you can edit and view the running results online.

Check out the HTML example!

HTML reference manual

In the rookie tutorial, we provide a complete HTML reference manual, including tags, attributes, colors, entities, and so on.

HTML Tag Reference Manual