If you know a bit about HTML, could you please help me?
Use a HREF attribute to an A tag. Is this correct and can to be replaced by in?
Thanks in advance.
Top answer
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.
— Mr Wordy
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 "a n HREF attribute" (because HREF is pronounced "aitch-ref", starting with a vowel sound).
Free · every Monday
Get the Weekly English Kit 📬
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
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).