is there any easy way of getting all attributes of a node without checking if it has that attribute? short, here\'s an example of what i\'m trying to do: i have this short d
Use this code, it will give you the specified attributes.
This is for testing php dom get all attributes of a node
Now when you click the conent of the p tag . It will show you align attirbute values.