I would use "of". But in most circumstances I would probably write:
Use the HREF attribute of the<A> tag.
or
Use the <A> tag's HREF attribute.
If you're sure that you want "a" rather than "the", then it should be "an HREF attribute" (because HREF is pronounced "aitch-ref", starting with a vowel sound).