Are income taxes an example of expenses classified by nature or by function in the Income Statement?

There is a practice question in Kaplan Schweser that asks “are income taxes an example of expenses classified by nature or classified function in the income statement?”

The correct answer is supposedly nature, but every single example of an income statement I’ve found, be it by nature or by function includes tax expense as a separate line item. What gives?