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.
2 Antworten
+ 4
It does matter, it will always be "color" and you can research why on the internet.
+ 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.