+ 2

How do I reference tags in CSS?

Hi I was wondering how to reference tags (such as <img>, <tr>, etc) in CSS as an alternative to using classes or IDs. I was thinking it was <tr> { } But Iā€™m not sure. Thanks for hearing me out :)

23rd Jan 2018, 3:28 PM
Lindsay Scott
Lindsay Scott - avatar
2 Answers
+ 12
remove '<>' For referencing an image img{ }
23rd Jan 2018, 3:44 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 1
Thanks for the help :)
24th Jan 2018, 12:22 AM
Lindsay Scott
Lindsay Scott - avatar