None of the above.
Traditionally it would have been a P&L account item "below the line" which means it wouldn't have appeared in a "Trading Account" but at the bottom of the Statutory P&L Accounts after "Net Profits for Year" as a distribution before the "Retained for year" figure was added to Retained Profits brought forward.
However, the new standard format removes it from all statements in effect. It comes off the Retained Earnings figure in a note to the accounts and the lower P&L Account balance appears in the Balance Sheet as a result.
I hope that's clear, but to be absolutely so, the actual dividend figure itself does not appear in either the trading account or the published P&L Account or Balance Sheet.