+ 1

hlo friends

What is the advantage and uses of <div> and <pre> tag?

27th Mar 2017, 4:38 AM
Sandip Shrestha
Sandip Shrestha - avatar
1 Antwort
+ 11
<div> is a container of other elements. <pre> represents preformatted text i.e. whatever you put inside <pre></pre> will be exactly displayed i.e. with blank spaces, new lines etc,.
27th Mar 2017, 4:46 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar