Which is better?

or

James A. Garfield

US president

James A. Garfield

William Henry Harrison

US president

William Henry Harrison