+ 3

When to use <pre> ...??

when is this tag useful? I don't fully understand it's place in the HTML language?

8th Dec 2017, 9:37 AM
Devon Fitzpatrick
Devon Fitzpatrick - avatar
4 Answers
8th Dec 2017, 9:49 AM
#RahulVerma
#RahulVerma - avatar
+ 8
<pre> is basically preformatted. Useful for posting objects in a particular foemat that have a lot of whitespace characters that might be removed by paragraphs and other tags
8th Dec 2017, 10:04 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
text inside <pre> displayed with fixed width. including space
8th Dec 2017, 9:49 AM
Andika Romansyah