I am reading Enhancing Structural Markup with JavaScript by Simon Willison. In his first example he shows how to make the cite=someurl attribute of a <blockquote> tag visible and clickable in the browser.

I was thinking it would be nice if the script could check the validity of the URL (does the target page exist?) before displaying to the html page.

Is that possible with JavaScript?

Thanks for any insights.