Am i right in assuming that 'pre' tag(preformatted text) overrides any external formatting applied on it> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Am i right in assuming that 'pre' tag(preformatted text) overrides any external formatting applied on it>

Trying to understand what exact 'pre' tag in html does

19th Aug 2018, 7:00 PM
Lax
3 Answers
+ 3
Lax <pre > preserves line breaks and spaces. Have you tried using the tag? if not give it a shot
19th Aug 2018, 8:35 PM
Manual
Manual - avatar
0
then how does code syntax highlighting work?
20th Aug 2018, 12:21 AM
Bebida Roja
Bebida Roja - avatar
0
Thanks both, appreciate your answers
20th Aug 2018, 8:19 PM
Lax