Which is better?

or

John Tyler

US president

John Tyler

William McKinley

US president

William McKinley