Dynamic Website Study Notes (1)

Source: Internet
Author: User

1. Why is there a host in an HTTP request sent to a URL?

Accept: text/html, application/XHTML + XML, application/XML; q = 0.9, */*; q = 0.8accept-charset: GBK, UTF-8; q = 0.7 ,*; Q = 0.3accept-encoding: gzip, deflate, sdchaccept-language: ZH-CN, ZH; q = 0.8 connection: Keep-alivecookie: * *********************** HOST: www.google.com. hkuser-AGENT: Mozilla/5.0 (Windows NT 6.1; wow64) applewebkit/537.22 (khtml, like gecko) Chrome/25.0.1364.152 Safari/537.22x-chrome-variations: outputs =

Because some servers have multiple websites, the request URL will find the corresponding IP address through some DNS. This IP address is the Server IP address, but this server may have multiple websites, the request must know the specific destination.

2. How to debug different browsers

One easier way is to use Yahoo UI, http://developer.yahoo.com/yui/2/

3. why CSS? advantages and disadvantages

Advantage: Easy classification and layout, savingCode.

Disadvantage: loading speed is slow for the first time. A website needs to be displayed only after the complete code is written.

4. DNS

A: IP Address

Cname: maps a URL to another URL to prevent the mapped IP address from being found after it changes.

5. Why is Google's interface so concise and JS Code Format messy?

Space is money

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.