Use data-url to fetch the url if available or use href