HTML theoretical basis

What is HTML:

•HyperTextMarkup Language (HTML)

•HTML is a standard markup language used to create web pages (combines text and other information related to the text to represent document structure and data)

•Since the birth of the Web, multiple HTML versions have been developed, the latest version is HTML5

version year

HTML2.0 - November 1995

HTML3.2 - January 14, 1997

HTML4.0 - December 18, 1997

HTML4.01 - December 24, 1999

HTML5 - October 28, 2014

1. Why should you learn HTML?

HTML is the most important and fundamental of all Web technologies

Without HTML, there would be no current prosperity of the World Wide Web

•The basis of website development is HTML, which is a standard markup language used to create web pages (combining text and other information related to the text). By combining with other web technologies (such as: css, js, etc.), you can create Powerful web page.

•Therefore, HTML is the basis of World Wide Web (Web) programming, which means that the World Wide Web is built on HTML.

2. How can the website be accessed by others?

1. Write pages and complete the website

2. Publish the website to the server/World Wide Web

3. When the browser accesses, the browser sends a request, the server returns the website content, and the browser parses the website.

3. Development tools

editor:

•Visual Studio Code、HBuilder/HBuilder X、Sublimetext、WebStorm等

: browser

•Chrome, Firefox, etc.

HTML structure

Two tags provide the external structure of an HTML document:

•DOCTYPE

•html

The code below shows the basic structure of a web document:

Content tags between <html> and </html>

The content between <head> and </head> tags the metadata of the web page

<body> and </body> mark visible web content

The <!DOCTYPE> declaration helps browsers display web pages correctly.

Many different documents exist in the web world. Only by understanding the type of document can the browser display the document correctly.

There are also many different versions of HTML. Only by fully understanding the exact HTML version used in the page can the browser display the HTML page completely correctly. This is what <!DOCTYPE> is for.

Guess you like

Origin blog.csdn.net/YGRQG/article/details/129025425