![google chrome vs internet explorer comic google chrome vs internet explorer comic](https://i.ytimg.com/vi/YKM6OYYiX9I/maxresdefault.jpg)
The last action is undone and the node reappears.ĭevTools provides a few shortcuts for accessing DOM nodes from the Console, or getting JavaScript references to them. Right-click Foundation below and select Inspect. Right-click The Stars My Destination below and select Inspect. The background color remains orange even though you're not actually hovering over the node. See Appendix: Missing options if you don't see this option. Right-click The Lord of the Flies and select Force State > :hover.
![google chrome vs internet explorer comic google chrome vs internet explorer comic](https://i1.wp.com/blogporta80.com.br/conteudo/2012/01/18/chrome_vs_internet-explorer.jpg)
Right-click The Lord of the Flies above and select Inspect. You can force nodes to remain in states like :active, :hover, :focus, :visited, and :focus-within. In the DOM Tree, drag Elvis Presley to the top of the list. Notice that it's the last item in the list. Right-click Elvis Presley below and select Inspect. Type Sheldon inside the tag and press Control / Command + Enter to apply changes. DevTools automatically adds the closing tag after the cursor. Select the li element from the autocomplete menu and type >.
![google chrome vs internet explorer comic google chrome vs internet explorer comic](https://66.media.tumblr.com/259f689ad6bf3e8b7cb46ab2bb46985a/tumblr_pec8px9CvL1xpjc9ho3_500.png)
Note: Additionally, DevTools can autocomplete DOM properties. DevTool highlights HTML syntax and autocompletes tags for you. Press Enter to start a new line and start typing
#Google chrome vs internet explorer comic how to#
Follow the instructions below to learn how to add attributes to a node. To edit attributes, double-click the attribute name or value. The text above changes from Michelle to Leela. The text is highlighted blue to indicate that it's selected.ĭelete Michelle, type Leela, then press Enter to confirm the change. In other words, double-click the text between and. Right-click Michelle below and select Inspect. To edit a node's content, double-click the content in the DOM Tree. You can edit the DOM on the fly and see how those changes affect the page. The last sentence is highlighted in the DOM Tree.Īs mentioned above, the Search bar also supports CSS and XPath selectors. The Search bar opens at the bottom of the DOM Tree. You can search the DOM Tree by string, CSS selector, or XPath selector.