Category "cdata"

Retrieving the <img> tag inside of cdata

I know what's the meaning of CDATA. But what I wanted for help is if someone could give me the right javascript for getting the img tag inside rrs cdata, please

Should I use <![CDATA[...]]> in HTML5?

I'm pretty sure <![CDATA[...]]> sections can be used in XHTML5, but what about HTML5?