I’ve a GridView with TemplateFields. I have tried HeaderStyle-HorizontalAlign=”Center” to align the header text of the TemplateField to center but it’s not working. How I can align center the header text of a TemplateField? While ItemStyle-HorizontalAlign=”Center” aligning center the items of TemplateField is working correctly. Answer The <center> tag is deprecated in HTML 4.01 and not supported in HTML5 –