add alternative and title to img tag and a tag