0

What is happening in this example?

What is happening here, it seems as if all the words are in a single line. https://code.sololearn.com/W9al7Y4NOhs9 Because this is not the case with div etc. This is happening only with the code tag

2nd Oct 2020, 5:02 PM
ASP
ASP - avatar
2 Respuestas
+ 4
Code is inline element
2nd Oct 2020, 5:40 PM
Oma Falk
Oma Falk - avatar
+ 2
Try changing the padding of the div if you want the whole text to move, or make code tag display as a block element
2nd Oct 2020, 5:31 PM
Karak10
Karak10 - avatar