get only head tag contents not body