html function

Apply HTML attributes to title, subtitle, and source text.