Development tools come built-in to most web browsers and allows the real-time viewing and editing of all the client side aspects of a website. These include HTML, CSS and JavaScript code but not server-sided elements like PHP.
Using inspect element effectively can help you better understand or make sense of how websites are constructed for learning. And, can help experienced developers in the debugging process aiding the easy diagnoses of different error status codes and warnings including mixed content.
You can access inspect element (and more) on Chrome in a few different ways including:
F12
key or a combination press of CTRL + Shift + C
.You can swap between the different tabs including elements, console and network, all of which can help learn and diagnose issues. The example below shows the element window in Chrome.
Similarly, you can right-click on a website element and select “Inspect” to open the developer tools. Again, much like Chrome you can also use the keyboard shortcut use the keyboard shortcut CTRL + Shift + C
.
As a Chromium-based browser Microsoft Edge is almost identical to Google Chrome, you can access the development tools and inspect elements with the following:
F12
function key which will open all the development tools.CTRL + Shift + C
. Using any of these options will allow you to cycle through the different development tool panes letting you manipulate and learn more about the site, including showing any issues.
As a Chromium based browser Opera has similar tools to Edge and Chrome but has slightly different key bindings. You can access the developer tools and inspect element in Opera by:
Ctrl+Shift+I
.