Какова лучшая практика для этих примеров?
1)
<style type="text/css">
.block .title {color:red}
.anotherBlock .title {color:blue}
</style>
...
<div class="block">
<h3 class="title">SomeTitle</h3>
</div>
<div class="anotherBlock">
<h3 class="title">anotherTitle</h3>
</div>
...
2)
<style type="text/css">
.blockTitle {color:red}
.anotherBlockTitle {color:blue}
</style>
...
<div class="block">
<h3 class="blockTitle">SomeTitle</h3>
</div>
<div class="anotherBlock">
<h3 class="anotherBlockTitle">anotherTitle</h3>
</div>
...
Первый код выглядит чище, но кто-то может подумать, что теги h3 будут иметь те же свойства стиля.