how to use <pre>....</pre> this element in html5? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to use <pre>....</pre> this element in html5?

please give an example.

3rd Jul 2017, 4:32 AM
Md. Jahid Hasan
Md. Jahid Hasan - avatar
1 Answer
+ 4
Pre tag is used for Preformatted text .... means as you write in this tag it will show similar... eg: <pre> My. Name is. Prakhar </pre> then output will be My. Name is. Prakhar *so..this will be output...
3rd Jul 2017, 4:43 AM
Prakhar Singh
Prakhar Singh - avatar