- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body>
- <p id="r">Hello</p>
- <p>你好欢迎来到CodeSnippet.cn</p>
- <p class="selected">Hello Again</p>
- <div><span>And Again</span></div>
- <a href="javascript:document.body.contentEditable='true'; document.designMode='on'; void(0);">点我你就可以编辑网页了</a>
- </body>
- </html>
- //该片段来自于http://www.codesnippet.cn/detail/100120131484.html
来源: http://www.codesnippet.cn/detail/100120131484.html