html5 - Should I wrap every text-node with a <p> element? -


i create semantically , logically correct html5 document concious created document outline satisfy search engines , other software take advantage of element semantics.

the <p> element - know should not take name, paragraph, literally, not sure if should use wrap every text-node in document?

generally asked, should wrap every text-node in dom <p> element, smallest text portions, or may write them down in document?

if @ definition of paragraph in html5 spec, you'll see several examples of pieces of text not wrapped in <p> tags. no, there no requirement wrap every scrap of text in <p> tags.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -