The role of the Html

Html is used to develop web pages.

Definition of Html: Hypertext Mark-up Language A tag is a tag. < tag name ></ tag name >, for example, tags mostly come in pairs.

The so-called hypertext has two meanings: 1. Because the web page can also have pictures, video, audio and other content (hypertext restrictions) 2. It can jump from one web page to another, linking to web pages of hosts around the world (hyperlink text)Copy the code

Basic structure of Html

1. Structural code

<! DOCTYPE HTML > # # # 'document statement' < HTML > # # # 'web pages to the < head > # # #' head tag < meta charset = "utf-8" > < title > page title < / title > < / head > </body> </ HTML >###Copy the code

2. Browse web files

The suffix for a web file is.html and.htm, and an HTML file is a web page.