I have a question about this code from a tutorial on how to make an announcement box and float to the right. I am learning about classes, but this example doesn't have a class in a stylesheet - with a dot in front like I've been learning. I'm a bit confused on how or why this works. I thought you had have the class in a stylesheet and put in the html doc as class="xxx"
<div class="img-rounded border border-trbl border-round" style="float: right; background-color: #f0f4f3; width: 315px; height: 260px; margin-left: 50px; border: 1px solid #E8E8E0;">