adds title and alt tag