Times Internet interview question

How would you align the element write the CSS class