California voted for the Republican nominee former War Secretary William Howard Taft in a landslide over the Democratic nominee former Nebraska representative and the 1896 and 1900 nominee William Jennings Bryan .