jquery 或者php怎么检测dom元素有无闭合

WBOY
Release: 2016-06-13 12:42:08
Original
698 people have browsed it

jquery 或者php如何检测dom元素有无闭合
比如我的dom较为复杂


  //这个div没有闭合

8种超级抗压食品,吃掉压力!



 



 


众所周知,过大的压力会破坏我们的饮食习惯,2112132123



 


请问 php或者jquery如何能查出这样没有闭合的html元素,并补上这个闭合元素



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!