[英]How do I insert an HTML element in the Firefox inspector tool?
If you are using the inspector tool, go to the inspector tab, right click anywhere in the page where you want to inspect and choose Inspect Element, an icon will appear on the page on that element, click on that icon and you will find "Edit as HTML". 如果您使用的是检查器工具,请转到“检查器”选项卡,右键单击页面中要检查的任何位置,然后选择“检查元素”,该元素的页面上将出现一个图标,单击该图标,您会发现“编辑为HTML”。 Attached is a screenshot. 附件是屏幕截图。
Hope this helps. 希望这可以帮助。
you can right-click and edit the inner html. 您可以右键单击并编辑内部html。 this is because the browser cannot know beforehand what kind of item you want to add. 这是因为浏览器无法事先知道要添加哪种项目。 so the option they leave is edit html. 因此,他们留下的选项是编辑html。
sorry... the answer is quite a duplicate of the answer you left for chrome. 抱歉...答案与您为Chrome留下的答案完全相同。 but AFAIK is the annoying truth. 但是AFAIK是令人讨厌的事实。
You need to right click on the parent element and select EDIT HTML. 您需要右键单击父元素,然后选择“编辑HTML”。 This will let you type freely, and you can add any tags you wish inside. 这样您就可以自由键入,也可以在其中添加任何标签。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.