Citi interview question

Specific questions about HTML and CSS problems, how would I solve them?