From the following HTML I need to figure out which List tag has class active and further on for the active List I need to find the relevant value
<li class="active">
<a href="value1" class="Tab1">Services</a>
</li>
<li><a href="value2" class="Tab2">Create Account</a>
</li>
<li><a href="value3" class="Tab3">Modify Account</a>
</li>
What is the best way to do this?