How to deserialize an html div when it has certain attributes to it?
- by user1676874
For example this:
<div class="link_text">
<a href="http://www.stackoverflow.com">
<strong>Text</strong></a>
</div>
With normal tags like XML ones it is easy, you just create the class with the same name as the tag, so if the tag is:
<something></something>
you create a class called something, but how would you do this in HTML in an example div such as that one, with a class attribute inside?