Use Chrome to see how the effects on your page are implemented

Source: Internet
Author: User

Use Chrome to see how the effects on your page are implemented

Chrome is a very powerful tool, many times, we do not know how an effect is implemented, we can find the response of the webpage, and then find its HTML file, and JS file, view the source code, get its implementation way.

The following examples illustrate:

1. I want to know the HTML code for this section:

You can open the Developer tool directly, click the arrow, select the section, and it will automatically navigate to the corresponding element in element.

2. I want to know this part of the AJAX implementation, then I can directly guess (accuracy is not very high ha, to try more ~), to find the HTML introduced in the JS code, in the source resources through ctrl+p to search files. After entering the file, search through ctrl+f input keywords such as inputs or password. can be achieved. Such as:

This allows us to get the code we want.

Use Chrome to see how the effects on your page are implemented

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.