Adding head tag in display code