How to copy an html element's markup and style entirely

Viewed 727

Is there a tool I can use (preferably in chrome) to copy the entire html and relevant css code for an element and it's child elements?

1 Answers

If you right click on the element and then inspect, you can copy the style and the html like this to copy the element's HTML:

enter image description here

Also to copy its style:

enter image description here

Related