Home >Web Front-end >HTML Tutorial >About p tag_html/css_WEB-ITnose

About p tag_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:03:551093browse

It is said that the p tag cannot nest divs and p tags, and the nesting will be parsed and separated by the browser. But if you use document.createElement to create a div and then appendChild, it will work. It seems that the browser does not support dynamic parsing

Statement:
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