We
have many markup to use like <br> add line (break line) or <p>
separator a piece of text for other but there is difference between them not in
the using but in the function to use :
so you might have noticed that we have two
different ways in HTML of breaking our text into multiple lines
we
have < br > empty element and <p> element
which is an not empty element
so
<p> create a little invisible box around the text .this box called a block
and block are heavily involved in how the browser lays out text on the screen
the
block has height and width and it also have margin above and below and that's
what provide the space around the paragraph this <p> element we called a
block and <br> we called in-line element like <em> <mark>
<a>(the hypertext element )
it
can seem bit abstract trying to imagine these invisible box that the browser
constructs around the element.
EmojiEmoji