What is the difference between using this method in HTML and CSS by making a class="pro" as to just using.
<p>a <u>pro</u>grammar</p>
in HTML?
HTML using a class...
<p>a <span class="pro">pro</span>programmer.</p>
CSS class
.pro {text-decoration: underline;}
The outcome is the same, but I am wondering if there is a reason as to why I should use one over the other.