add font-weight attribute to text