Which is better?

or

James Monroe

US president

James Monroe

William McKinley

US president

William McKinley