我正在使用PHP Simple HTML DOM解析器。
我想知道是否可以提取 HTML 注释 ( <!-- -->
)。
你能吗?
直接从他们的文档中:
// Find all comment (<!--...-->) blocks
$es = $html->find('comment');
http://simplehtmldom.sourceforge.net/manual.htm
我正在使用PHP Simple HTML DOM解析器。
我想知道是否可以提取 HTML 注释 ( <!-- -->
)。
你能吗?
直接从他们的文档中:
// Find all comment (<!--...-->) blocks
$es = $html->find('comment');
http://simplehtmldom.sourceforge.net/manual.htm