There are two ways to style elements, but I personally prefer the first method because it allows for code reusability. Some people may have their own preference, but I am curious to know which method performs better when loading large stylized pages.
1)
<style>
.red{ color:red}
.right25{ margin-right: 25px}
.bold{ font-weight:bold}
</style>
<p class="red right25 bold">This text is styled with red color, bold font weight, and a 25px right margin.</p>
2)
<style>
.class1{ color:red; margin-right: 25px; font-weight:bold}
</style>
<p class="class1">This text is styled with red color, bold font weight, and a 25px right margin.</p>