setting anchor for list elements in do tree
setting anchor for list elements in dom tree