What is the use of <code> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the use of <code> tag

9th Jun 2017, 3:01 PM
Shaswat Singh
Shaswat Singh - avatar
2 Answers
+ 1
It defines a piece of computer code.
9th Jun 2017, 4:09 PM
Victor
Victor - avatar
+ 1
It is used to display a piece of code as plain text without executing it as code.
9th Jun 2017, 5:33 PM
Avic Ndugu
Avic Ndugu - avatar