Introduction to HTML

A few basic things to know about HTML before starting to learn this language.

What is HTML?

  1. HTML is the standard markup language for creating websites.
  2. HTML stands for Hyper Text Markup Language.
  3. HTML describes the structure of the website with markups.
  4. Elements in HTML are blocks of HTML web pages.
  5. Elements in HTML are represented by tags (tags).
  6. HTML markup tags contain content like 'paragraph', 'heading', 'table' .
  7. The browser does not display HTML tags but uses them to display the content of the page.

A simple HTML text

Below is an example of a simple HTML text.





TipsMake.com




Learn HTML programming


HTML is a hypertext markup language.




Explain the example

  1. said this text is HTML5
  2. is the root element of the HTML page
  3. contains descriptive information about the text
  4. is the element that indicates the title of the text
  5. is the element containing the page content to display
  6.  

    is the element that will display the big title
  7. is the element of the paragraph

HTML markup tag

HTML markup tags (referred to as HTML tags) are elements enclosed in curly braces.

noi_dung

  1. HTML tags often go into pairs, for example

    and

  2. The first tag in this pair is called an opening tag, the second card is called a closing tag.
  3. The closing tag is written like an opening tag but begins with a slash before the tag name.

Web browser

The purpose of web browsers (Chrome, IE, Firefox, Safari .) is to read HTML documents and display them. The browser does not display HTML tags but uses them to determine how to display the text.

Introduction to HTML Picture 1Introduction to HTML Picture 1
Browser displays HTML text

HTML page structure

Below is a simplified image of the HTML page structure.

Introduction to HTML Picture 2Introduction to HTML Picture 2
Parts in a simple HTML page structure

Note: Only the content within the new section is displayed in the browser.

 

indicates the type of text and helps the browser display the web properly, appearing only once at the top of the page (before any HTML tags).

not necessarily capitalized.

for HTML5 is

 

Versions of HTML

From the early days of the web there were many versions of HTML.

Version Five HTML 1991 HTML 2.0 1995 HTML 3.2 1997 HTML 4.01 1999 XHTML 2000 HTML5 2014

The following article: HTML editing tool

See also: 5 free online HTML editing tools for best code checking

4 ★ | 1 Vote