Adventures in Custom Elements... making the html A tag

Currently I am working on adding a custom element so that I can use it as a generic comment box on my diagram that itself is not associated with any element. And it should be saved in xml.