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
Post a Comment