Given the following HTML and CSS codes, which of the following statements about HTML attributes 'id' and 'class' are correct with regards to their application and interaction with the CSS provided?
<div id='content' class='red blue'> #content { color: #fff; } .red { background-color: red; } .blue { border: 1px solid blue; }