Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the knowledge points of HTML web page structure?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what are the knowledge points of HTML web page structure". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the knowledge points of HTML web page structure"?

Most of the time, the first thing I see when learning web design and development is the web page at the end of the html or htm suffix. We put this kind of web page down to static web pages, except pseudo-static.

What is the difference between html or htm and other web pages ending with suffixes such as php, asp, aspx, jsp, etc.?

First of all, the html page is static from beginning to end, there is no program execution is pure html language, is directly sent to the browser without server processing to the viewer.

The web pages at the end of other suffixes are relatively dynamic web pages, which are processed by the server to translate their respective programs, database operations, and so on, and then the browser sends the data processed by the server to the user. The web page content data can then be changed.

What about the basic language institution of html?

Take a look at the html structure first:

Complete HTML includes html DOCTYPE statement, title title, head, web page coding declaration, etc.

Initially use the complete html source code:

The latest complete HTML structure-HTML source code (recommended):

The html language structure of dynamic pages, whether html or other suffixes, is the same, but ends with a different suffix when naming web files.

1. Both dynamic and static pages start with "" and end with "" at the end of the page.

2. "" is followed by the "" page header, whose content cannot be displayed in the browser. Here is for the server, browser, link external JS, a link CSS style and other areas, while inside "" is the page title, which can be seen as shown on the top left of the browser:

TITLE display location map

3, then "" these two tags in the content is for the search engine to see the description of this page keywords and the main content of this page and other SEO can be used.

4, followed by the text "", that is, the body area, where the content placed can be presented to the user through the browser, its content can be table table layout format content, can also be DIV layout content, can also be text directly. This is also the main area, the content presentation area of the web page.

5. Finally, it ends with "", that is, the page is closed.

The above is a complete and simplest html language basic structure, through the above can add more styles and content to enrich the web page.

Note: Web pages generally require each tag to be closed according to the xhtml standard, such as: to start, to close; if there is no closure, it is necessary to complete the closure.

At this point, I believe you have a deeper understanding of "what are the knowledge points of HTML web page structure?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report