Build a tree using HTML