+ 1

Tags

What is the tags used to get text pre-formatted

18th Mar 2019, 11:44 PM
Christopher Senbore
Christopher Senbore - avatar
1 Answer
+ 7
HTML has two tags to make text pre-formatted. They are <pre> and <span>. Tag <pre> is a block tag and <span> is an inline one. Compare <p> I love SoloLearn</p> In browser it would be I love SoloLearn <pre>I love SoloLearn</pre> In browser it would be: I love SoloLearn <p>I <span>love SoloLearn</span></p> It would be: I love SoloLearn
19th Mar 2019, 12:11 AM
Julia