Incorrect HTML 'p' Elements

Q

What Is Wrong with My "p" Elements?

✍: FYIcenter.com

A

If you are having trouble with your p elements, it could be caused by one of the following common mistakes:

 <!-- Missing closing tags -->
 <body>
  <p>I love the way you look at me.
  <p>I love the way you kiss me.
 </body>

 <!-- "blockquote" is not allowed in a p element -->
 <body>
  <p><blockquote>
  "You don't love a woman because she is beautiful,
  but she is beautiful because you love her." 
  </blockquote></p>
 </body>
 
 <!-- "form" is not allowed in a p element -->
 <body>
  <p><form action="">
  Take in this survey to win $10,000.00!
  </form></p> 
 </body>

 

HTML 'pre' Tag/Element

Getting Extra Space between Paragraphs in HTML

HTML Body Tag and Block Level Tags

⇑⇑ HTML Tutorials

2023-08-03, 1232🔥, 0💬