David Carrdcblogdev.hashnode.devยทMay 6, 2011A simply way to extract title and other attributes from a image tagThere's times where you need to dynamically extract attributes from image tags such as extracting the image title, alt or source tags this is very easy to do, by making use of the DOMDocument class that's built into php: To start instantiate the DOM...46 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.