HTML Has Two Types of Lists
In normal Web Page rendering multiple white spaces become a single blank space. But pre preformatted tag maintains white spaces.
White Space Types: Space, Tab, newline