ttl function

Creates a title attribute