Convert html snippet to a tree
Given a string that looks something like:
<div>
<div>
<a>
</div>
<div>
<p>
</div>
</div>Convert it into a tree where you can search for any of those values based on their value input
div
/ \
div div
/ \
a p
```No idea how to do this, any thought?