Which is better?

or

William McKinley

US president

William McKinley

Zachary Taylor

US president

Zachary Taylor