Practice: Inspecting DOM "Elements" using the Developer Console
When you're interested in a particular DOM node, Inspect is a fast way to open DevTools and investigate that node.
-
Right-click Michelangelo below and select Inspect.
- Michelangelo
- Raphael
<li>Michelangelo</li>
is highlighted in the DOM Tree.- Click the Inspect inspect icon in the top-left corner of DevTools.
- Click the Tokyo text below.
- Tokyo
- Beirut
Now,
<li>Tokyo</li>
is highlighted in the DOM Tree.