body { background-color: lightyellow; max-width: 800px; margin: 10px auto; padding-left: 5px; padding-right: 5px; } .tag { background-color: lightgrey; padding: 3px 7px; display: inline; }