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

Share the first html web page you wrote

零下一度
Release: 2017-06-24 13:59:28
Original
3776 people have browsed it

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:

[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:

[Note]: Contains the web page window title.

##  (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>
Copy after login

​ (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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template