W3School TIY
编辑您的代码:
This is a paragraph.
This is another paragraph.
获得 p 元素的文本内容
查看结果: