以下是一些w3c CSS测试题的示例:
What's the syntax for the "font shorthand" property? Answer: font: font-style font-variant font-weight font-size/line-height font-family; What property is used to change the face of a font? Answer: font-family What property is used for adding a background color to a table? Answer: background-color What does CSS stand for? Answer: Cascading Style Sheets
这些题目可以帮助你测试对CSS的理解,并且让你更加熟练使用CSS。
请记住,在CSS中细节很重要,如果你错了一个字符,整个样式可能就会出现问题。
因此,大家鼓励您在掌握CSS基础知识后,不断地练习。幸运的是,w3c有很多测试题可以供您使用。