Valid ID Selector Examples in CSS
A. #black{color: #000000;} D. .black{color: #000000;}
Only option A is a valid ID selector. In CSS, ID selectors start with a '#' symbol followed by the ID name. Option D is a class selector, indicated by the '.' symbol.
原文地址: https://www.cveoy.top/t/topic/pmdU 著作权归作者所有。请勿转载和采集!