Edit HTML in the Console Panel

Published on Updated on

Edit HTML in the Console Panel of DevTools

The DOM node context menu, which you may recognize from the elements panel, is also present in the console panel.

  1. Log a DOM node to the console.
  2. Right click on it.
  3. Select Edit as HTML or Edit Text.
  4. Notice the DOM is updated on the page and also in the Elements Panel.

Updated on Improve article

Back

Easily duplicate DOM nodes

Next

A new home for DevTools

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.