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
2 Answers
+ 4
Code is inline element
+ 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