Normally, HTML uses variable letter size and spacing. Now, this is NOT very helpful for displaying examples of computer codes! So we should know about the elements that support fixed letter size and spacing.
Computer Code displayed in a variable font:
Computer Code displayed in a fixed font:
var person = {
firstName:"John",
lastName:"Doe",
age:50,
eyeColor:"blue" }
var person = {
firstName:"John",
lastName:"Doe",
age:50,
eyeColor:"blue"
}