set data-title and make Href to href and Name to name