style position in html code example Example 1: html css position .class{ position: attribute ; } Example 2: how to position in css align: center;