Apologies for the simplicity of my inquiry, but despite searching online, I have yet to find a clear explanation. I am struggling to understand how to create a style rule specifically for img elements within figure elements in HTML5 and CSS.
I am new to learning these languages and have encountered this obstacle early on. Any guidance on how to apply a rule that only affects img elements inside figure elements would be greatly appreciated.
I realize this question may have been addressed before, but the information I've come across so far pertains to more advanced programming concepts or applying styles to classes within elements. Can someone clarify why 'figure.img {}' or 'img.figure {}' does not seem to work?