Some words are spelled differently in American English and in Great Britain and countries with a history of British influence. If you write for a global audience, check materials written in the country or for your intended audience.
American vs. British spellings