get img element by src javascript

select images by src and add inline style using plain javascript code : first select all images ” by tag name ” then select specified ” image by src ” using ” if ” .