Site page recognition based on

Source: Internet
Author: User

Learn the basics of Web pages today. Yes:
The distinction between static and dynamic Web pages.
Static Web pages are not connected to the database, and later if you want to change the page's home page picture or product, the programmer needs to make changes with the source code. and Dynamic Web page is non-programmer can also through the background page, adding and deleting pictures. Static pages usually work more than static pages.
Second, through the DW software to view the code of the Web page, the meaning of the code and some it in English annotated meaning.
1. Static page tools in HTML such as:
①CSS: Has the function of beautify the webpage:
②java script: Is the meaning of scripting language. Used for special effects. For example, when a large image of a webpage is replaced, or a level two or three connection is built?
③xml: And the syntax of HTML is the same, it is a function of transmitting data, that is, a data carrier. is not displayed on the Web page, while HTML is the opposite, it is for the user to see.
2, the role of dynamic pages in HTML:
The ①asp.net C # suffix is. Nsps.
②jsp: In the language of Java, the suffix is. Jsp.
③php: In the language of PHP, the suffix is. Php.

Third, the label of the distinction.
1. Single Label:
① has no ending, but there is/before the end of each.
② if it is abbreviated, it can not be used/, but it is recommended to use the professional with/method.
The ③ syntax is:
< tag Name properties >
< tag name Properties/>
④ effect: Play the role of control.
⑤ use ratio is low, need special situation.

2. Double Label:
The ① is the smallest label.
② the label of the same name constitutes an element, a double-label element.
No/It's the beginning:<>
There is/is the end of:</>
Note: The HTML element refers to all the code from the start tag (start tag) to the end tag (end tag).
The ③ syntax is:
< tag Name properties > Content < Tag name properties >
< tag name Properties/> Content < tag name Properties/>
Note: A property refers to the control content.
④ action: is an actionable content container.
⑤ use rate is high, should need to practice frequently.

Iv. add something or a description to the webpage.

Comment Syntax: Content that is automatically ignored when the program executes, for reference when the programmer changes later.

<!--comment Content--
Five, the meaning of the terms of the code:
1 head:
①: Controls the format of the entire Web page.
②: Page style.
③: Special effects.
2, body: need to see the user to put here.
3, Meta: Control page format.
4, CharSet: encoding format.
①chae: The meaning of a character; set: The Meaning of the setting.
②CHARSET=UTF-8: International Universal Encoding format, the advantage is good compatibility.
There is also a commonly used is: GBK, is in Chinese. These are usually used only in these two ways.
③utf-8 If you want to use it, you must use it uniformly.
5, Title: Set the entire page title.

Note:
① Writing format specification: First write the beginning of the end, and then add the content, to prevent the occurrence of writing to the final chaos!
② shortcut Key Tips:
TAB key: The front can be added space, easy to view and write.
Tab+shift: Subtract the space in front to avoid problems.

The above is a tidy morning notes, not fully digested, in the course of the lecture will often appear like a heavenly book feeling. Even if you control your attentive listening, you will inevitably be in the process of individual knowledge into a paste leading to confusion state. And this morning also let me understand to the later of the multi-directional consultation and writing industry practice importance, although not genius, but can also fly more stupid birds. I hope I can go on with my study smoothly.

Site page recognition based on

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.