Times Internet Interview Question

How would you align the element write the CSS class