Add title tag to html span element