Home  >  Article  >  Web Front-end  >  Share the first html web page you wrote

Share the first html web page you wrote

零下一度
零下一度Original
2017-06-24 13:59:283695browse

The blog park has just been opened today. Let me talk about the html/css I recently compiled. It will still be helpful to beginners.

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. The most basic composition of the page

(1) Root element: 100db36a723c770d327fc0aef2ce13b173a6ac4ed44ffec12cee46588e518a5e

[Note]: Among them Contains header, body various styles js code, etc.. ##  (2) Head: 93f0f5c25f18dab9d176bd4f6de5d30e9c3bca370b5104690d9ef395f2c5f8d1

[Note]: Include some description of your page and your page style.

 (3). Page description: b2386ffb911b14667cb8f0f91ea547a76e916e0f7d1e588d4f442bf645aedb2f

[Note]: Contains the web page window title.

##  (4) Main content: 6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956 [Note]: Contains the content of your web page.

## 【Note】: HTML elements basically have closing tags, the closing tag is 87f8a5b37415abf7ca2a9c7b057412d4 9c3bca370b5104690d9ef395f2c5f8d1 6e916e0f7d1e588d4f442bf645aedb2f < ;/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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn