What is an HTML file?
HTML represents Hyper Text Markup Language.
An HTML file is a text file containing tags.
These tags show this page in the fastest browser.
HTML files must have an html or html extension.
HTML files can be created with a simple text editor.
Let me briefly introduce the HTML language (what we instill here is to be able to operate it). HTML is the common language of the Internet, a simple and universal full markup language. It allows web producers to create complex pages that combine text with images that can be viewed by anyone else on the Internet, regardless of the type of computer or browser you are using. Is it magical? Not magical at all, because now you see pages written in this language.
Yes, HTML is not very magical, just because you don’t know it very well, now we will start to take it off and first introduce the composition structure of HTML:
The composition structure of HTML
(Head, eyes, body--like like a person, right?)
1. Head. As long as you have learned English, you should know how to write your head in English! yes, HEAD is it; therefore, the HTML writing of the head is the content of the head. Isn't it simple, please note that these two are very similar, except that the latter one has more/symbols than the previous one. Such things will be used frequently in the future.
2. Eyes. Just like the human eye, it is the window of the soul, and the eyes of a web page should be the title of its page. How do you say the title? title,yes! Everyone knows that eyes grow on the head, so these should be placed between <head> and</head>. That is
<head><title>Title</title></head>
3. Body. The body is the main part of the web page, because what we mentioned earlier is not displayed by the page, and the page page you see is its body part (of course, its TITLE can be seen in the upper left corner of the browser), the body ----BODY, its writing method is: <body>page content</body>
Finally, don’t forget to make these parts one----web pages, so we wrap them up with <html></html>.
Okay, let's take a look at the structure of the web page:
Copy the code