Inspect Element
There is too much information for any one person to know right away in development and coding. Another tool you can use when getting started is “inspect element,” or inspecting the site’s current DOM tree state. This way of snooping shows the code normalized by the browser, which has its pros and cons:
- Complete view; shows everything dictating the page.
- Shows code in a “corrected state,” adding missing tags, or fixing invalid code.
- Can be complex, and requires higher-level understanding of web languages to navigate.
Chrome
In Chrome:
- Right click in an empty area of the page.
- Select “Inspect.”
Firefox
In Firefox:
- Right click in an empty area of the page.
- Select “Inspect Element.”
Safari
To inspect code in Safari, you first need to make it so you can see the developer tools:
- Open preferences.
- Go to the advanced tab.
- Select “Show Develop menu in menu bar.”
- Right click in an empty area of the page.
- Select “Inspect Element.”
Internet Explorer, Edge
To inspect code in Edge:
- Select the text, images, or links in the browser
- Right-click and select Inspect.
- The developer tools should appear, showing the HTML of those elements
Internet Explorer, Edge
It is very difficult to develop for and with these products. It is recommended you use one Chrome, Firefox, or Safari for the duration of the course.
development
- Previous
- Next