+ 3
Is <p> a container element in html?
9 odpowiedzi
+ 6
If a tag can contain another or more tags then that tag is a container tag. (this might not be the formal definition).
<p> or paragraph tag can contain <br/>, <i></i>, <strong></strong> etc tags so it is a container. 😊
+ 12
yep
+ 9
Yes, it is ^^
+ 9
yes
+ 6
<p> element is a container, but it cannot contain "everything": for example, <hr> is forbidden by Html5 specifications... putting one into a <p> element will cause browsers to correct the code by closing the <p> before the <hr> and either opening a new <p> ( wich doesn't inherit properties from previous ) or ignoring the orphan </p>...
+ 4
<p></p> is a element that defines a paragraph.
The <div> tag defines a division or a section.
Most tags such as <section>, <header>, and <footer> behave very similarly to <div>'s. They're very much up to you to determine how you use them. However, you shouldn't overlook the importance of using <div>s, especially for styling. For readability though, <section>, <footer>, <header>, and also <article> can be very beneficial.
+ 2
ya paragraph tag is a container tag we can contain everything in it
+ 2
oo thanks @visph
0
It is. BUT <P> elements are only allowed to contain inline elements. For example you can't put <div> or another <p> inside <p>.