Two important facts about paragraphs:
- The end tag for
p
elements is optional. p
elements cannot contain otherp
elements.
This means that:
- The first
p
start tag opens the firstp
element. - The second
p
start tag closes the firstp
element then opens the secondp
element. - The first
p
end tag closes the secondp
element. - The second
p
end tag has no openp
element to close.