0

A question i had when learning CSS

Would we have to always type "Color" instead if "Colour" or does it not matter? Just a question.

1st Apr 2023, 12:01 PM
Paradox
Paradox - avatar
2 Respostas
+ 4
It does matter, it will always be "color" and you can research why on the internet.
1st Apr 2023, 12:15 PM
Lamron
Lamron - avatar
+ 1
CSS uses American English spellings, and "color" is the standard spelling in American English. As CSS was developed in the United States, it follows the standard spelling conventions of the country. Therefore, it's written as "color" instead of "colour." However, it's worth noting that both spellings are correct and acceptable, but consistency is essential to maintain clean code. So it's recommended to stick to one spelling throughout your CSS codebase.
2nd Apr 2023, 1:17 PM
Neeraj Singh
Neeraj Singh - avatar