Come si ispeziona un sito?
To quickly access the Inspection window (Developer Tools) in the Google Chrome browser, you can use the keyboard shortcut CTRL+SHIFT+I or right-click on an area of the page and select Inspection.
Viewing a Page on an iPhone
To view a page on an iPhone, right-click on the desired page and select the corresponding menu option to inspect the element. If you want to use Web Inspector for Safari on your iOS device, you should have the Develop button in the menu bar.
Finding the Source Code
To view the source code with Chrome, follow these steps:
- Go to the web page you want to examine.
- Look for the menu that appears after clicking on the page.
- Click on View Page Source at that point.
- The browser will now show the source code of that page as a new tab.
Viewing Source Code on an iPad
To view the source code on an iPad, follow these instructions directly from the iPad:
- Select the code and copy it.
- Create a new bookmark in Safari called "Source Code" and save it.
- Go back to the Favorites menu and click on Edit.
- Choose the bookmark you just created.
How to View Page Source in Chrome
To view the source of a page in Chrome, follow these steps:
- Right-click on a blank area of the page.
- Choose View Page Source from the pop-up menu.
Note: This option may not be available for all pages, such as those that block right-click functionality.
Opening HTML Files Using Chrome
To open an HTML file using Chrome, follow these steps:
- Press Ctrl + O to access the Open dialog.
- Select the file to open by navigating to the appropriate directory.
- Click Open.
Alternatively, you can drag and drop the HTML file directly into a Chrome tab, and Chrome will automatically load the page.
Converting HTML to PDF
To convert HTML pages to a PDF file:
- Open an HTML page with Internet Explorer, Google Chrome, or Firefox on Windows.
- Open an HTML page with Firefox on Mac.
- To start the conversion to PDF, click the Convert to PDF button in the Adobe PDF toolbar.
Opening and Editing HTML Files
To find the HTML file you want to edit, use the Finder window and click on the appropriate icon to select it. Then, to import the HTML file into the TextEdit window, click the Open button. Make changes to the HTML code.
How to Activate Safari Developer Tools
To activate the developer tools in Safari:
- Access Safari and select Preferences.
- Choose the Advanced tab.
- Check the box that says Show Develop menu in menu bar.
- You will then find the Develop option in the menu bar.