div style="background-color:grey; color:red; padding:20px;">
please explain me this code why insted of "colour" we cannot write "textcolour". its confusing!
simply because there is no attribute textcolor in HTML or CSS. the attribute is called color. seeing there's background-color and border-color, I understand that it's confusing. I always wondered why there's no font-color. maybe it's because of simplicity.
thnks @mario it really helped me
Because the language was made in the USA. Color is American English for Colour in plain English.