Copying HTML code in Google Chrome's inspect element

后端 未结 4 391
迷失自我
迷失自我 2020-12-28 13:19

I have a website of which I want to copy an HTML code from - how do I copy all the text in inspect element - so I don\'t get the website\'s HTML code, but t

相关标签:
4条回答
  • 2020-12-28 13:21
    1. Right click → copy → copy element

    0 讨论(0)
  • 2020-12-28 13:31

    Do the following:

    1. Select the top most element, you want to copy. (To copy all, select <html>)
    2. Right click.
    3. Select Edit as HTML
    4. New sub-window opens up with the HTML text.
    5. This is your chance. Press CTRL+A/CTRL+C and copy the entire text field to a different window.

    This is a hacky way, but it's the easiest way to do this.

    0 讨论(0)
  • 2020-12-28 13:39
    1. Select the <html> tag in Elements.
    2. Do CTRL-C.
    3. Check if there is only lefting <!DOCTYPE html> before the <html>.
    0 讨论(0)
  • 2020-12-28 13:41

    using httrack software you can download all the website content in your local. httrack : http://www.httrack.com/

    0 讨论(0)
提交回复
热议问题