First, let me briefly popularize the following html for everyone
(1), html in English is: hypertext markup language Chinese translation: Hypertext Markup Language
(2) Web page: A web page is a file with the suffix ".html". It is stored in a computer or server in the world, and it is connected to the Internet. The web page is read through the URL (url ( Uniform Resource Locator)) is a page of the World Wide Web (the World Wide Web (a network connected by computers around the world)), which is read through a browser.
(3). Website (English (website for short)): It is composed of multiple web pages, but it is not a simple list and combination. It is composed through hyperlinks with both distinctive style and complete content. organic system.
(4), Web page component element standards:
Structure, performance, behavior. (5). Three elements of web front-end:
html/css/javaScript.
The above is the most basic understanding of our html. Next, we will start the production of our first web page. Of course, it is also my first web page. I miss it very much(1) Root element:
[Note]: Among them Contains header, body various styles js code, etc.. ## (2) Head:
[Note]: Include some description of your page and your page style.(3). Page description:
## (4) Main content: [Note]: Contains the content of your web page.
## 【Note】: HTML elements basically have closing tags, the closing tag is < ;/body> are all closing tags.
2. Officially start our first page
[Note]: It is not recommended for beginners to use programming software. Use "Notepad" to write or other software without prompts to write to improve your familiarity with the code.
<html> <head> <title>我的第一个网页</title> </head> <body> <p>我的第一个网页</p> </body> </html>
(1) Open Notepad
(2) Write our code in Notepad
(3) Save our notepad, the file suffix must be saved as ".html" otherwise the browser Unable to decipher
(4) Finally, open the .html file we saved, and our page will appear
At this point we have written a very, very simple page. Our time is limited today and we will continue tomorrow.
The above is the detailed content of Share the first html web page you wrote. For more information, please follow other related articles on the PHP Chinese website!