How to write Web pages of known URLs?

Source: Internet
Author: User

This morning in the laboratory study, inadvertently saw a group of Hubei villagers out of a outsourcing news.

is to ask whether to build the site back. I took this one job. The requirements are simple and follow a static page modeled after this known site.

The workload is small. He said, do a static website. Because I had done a similar job before, so I agreed.

The first problem encountered was the evaluation. He gave me a price. To tell you the truth, I was blindfolded. This outsourcing valuation this thing, I have not done before. After searching the Internet, everyone's story is different. See an answer that I think can be consulted. Charge according to the page you made.

Each 30~50. So I gave him a quote is 500, the reason is about to do about 10 pages, each 50. He promised. This is the end of the first valuation experience. I feel fine. The whole thing is not a lot of work.

Well, back to today's theme. How to write Web pages of known URLs.

The first step I have to take is to www.sorbushouseware.com the known URLs.

Open the browser's debug mode to view the HTML code of the Web page.

In other words, the relevant code showing this page, including the required HTML, CSS, JavaScript, font, images all get into your project, you can show this effect.

In the course of the operation, "right-click-Save As-" OK for each file. During the operation, note the consistency of the file directory.

For images like files that do not have the Save As option, we can access the URL of the image file and save the image to get the image resources.

The result of the last fetch is shown below

Finally in the browser effect with the original URL of the effect of 100% consistent.

This completes the page copy of the known URL. What, did you think it was fun? You can also try to write the www.baidu.com page.

----------------------------------------------------------------------------

Although the function is realized, we need to figure out how it works.

In fact, each page in the browser rendering is in the form of Web pages. Since it is a webpage, we should understand the composition of the webpage. In addition to knowing the header body from the code level. We also need to know what files this page refers to, what images are loaded, and what the loading order is. So-called Dynamic Web pages, to understand these, we need to figure out the browser loading Web page principle and process. Of course, this is not a two-sentence I can explain clearly. But I summed up that can be through the browser debugging mode to clear the page loading process.

How to write Web pages of known URLs?

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.