I am working on some outdated PHP code that contains a ton of inline style, one of our goals is to use CSS, so the code will be cleaner. The only thing I thought of was using my own VS HTML elements using CSS, such as bold and italics.
For instance,
<b>this is foo</b>
Or in css
.bold { font-weight: bold;}
<span class="bold">this is foo</span>
So far, these two are doing the same thing you guys prefer and why?
source
share