在谷歌浏览器中复制来自检查元素的代码 [英] Copying Code from Inspect Element in Google Chrome

查看:557
本文介绍了在谷歌浏览器中复制来自检查元素的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发一个HTML网站,我想从其他网站复制一些代码。但是,当我进入检查元素功能并尝试复制部分代码时,它最终会复制整个脚本。有没有什么办法可以从inspect元素中得到部分代码,而无需复制整个事物,并在Dreamweaver中剪掉不需要的位?

div , table td )并选择 copy as html


I'm currently developing a website in HTML and I want to copy some of the code from other websites. However when I go into the inspect element feature and try to copy just part of the code it ends up copying the whole script. Is there any way I can get just part of the code from inspect element without having to copy the whole thing and cut out the bits that I don't want in dreamweaver?

解决方案

Right click on the particular element (e.g. div, table, td) and select the copy as html.

这篇关于在谷歌浏览器中复制来自检查元素的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆