The Web front section QuickStart to playing a sneak

Source: Internet
Author: User

What we call the front end refers to the use of HTML writing language to write through the browser display page, HTML full text is Hypertext Markup Language, the emphasis is on the word tag. That is, a piece of text that we write in Notepad adds a series of markers that let the browser show a specific effect.

1. Label

HTML can be used to broadly include CSS, semantic tags, HTML structure, text hyperlinks, pictures, tables, lists, form types. Through this series of labels, the defined pages are fixed content when viewed using a browser, and we call it a static page, and we call it a dynamic page by querying the background database to generate a changed page.
650) this.width=650; "class=" Alignnone size-full wp-image-80039 "src=" http://www.linuxprobe.com/wp-content/uploads/ 2017/08/u39778054642138651461fm173sf494c231cd035d470fc5754a010070b2w640h512img.jpeg "alt=" Quick start to the front of the web to play a sneak to the front of the web to play the "width=" 640 "height=" "title=" Web front quick start to play the front section of the Web QuickStart to play "style=" vertical-align:middle; height:auto;margin:10px auto; "/>

2. JavaScript scripting language

We said earlier that the HTML language is the result of a series of tagged text, but the user experience is relatively accomplished. This is the JavaScript language, saying that JavaScript and Java are similar to the same thing, you say what is the difference between the two? Similar to Lei Feng and Leifeng Pagoda, what do you think is the connection?
The use of JavaScript improves the user experience by verifying that user input in the front end reduces the back-end access frequency (looks good, but is unsafe to bypass the test, so the backend also has to check for commits), perform specific operations, and so on.

3. JavaScript Framework

JavaScript native methods used to be more astringent, resulting in a lot of frameworks, more commonly used is the jquery framework to simplify the use of JavaScript in daily web development, the definition of the concept of writing less to do more.
This is done by using selectors to determine page elements, defining events triggered by these elements, to perform a series of DOM operations.

4. Ajax Asynchronous Communication Technology

A bunch of things in the front, when the user submits the contents of the form, the page needs to be refreshed once to display, so the user experience is particularly bad. In particular, the user registration, this user name can be used in the question, the previous said that you can use JavaScript script to verify user input, but this is not connected to the background database, the front end is unable to know whether the user name can be used. So we through the Ajax technology, in the case of the front page does not refresh, through the browser background connection Access server query user name has been registered, the front-end immediately show whether the user name can register, so that users can immediately display in front of the user to know whether to register, increase user experience friendliness.
650) this.width=650; "class=" Alignnone size-full wp-image-80038 "src=" http://www.linuxprobe.com/wp-content/uploads/ 2017/08/u1690867705861828163fm173sf6a0d54b53b4946a42616d0f0300e0c0w640h320img.jpeg "alt=" Quick start to the front of the web to play the front section of the Web to play the "width=" 640 "height=" the "title=" Web pre-section quick start to play the front of the web to play the Sneak "style=" vertical-align:middle; height:auto;margin:10px auto; "/>


The Web front section QuickStart to playing a sneak

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.