Welcome to WebmasterWorld Guest from 54.159.2.45

Forum Moderators: open

Message Too Old, No Replies

<a> tag

     

ctoz

1:18 am on Nov 10, 2011 (gmt 0)

5+ Year Member



I've filed, for exploring later, what looks like an html snippet:

a[href^="http://"]


...but Google doesn't recognise the non-alpha characters—so I'm a bit in the dark as to how to search for it.

Can anyone point to a site that explains how it functions?

Fotiman

1:37 am on Nov 10, 2011 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



[w3.org...]
I'm not sure how it's being used, but it looks like a CSS selector that would match all a element whose "href" attribute value begins exactly with the string "http://"

ctoz

1:40 am on Nov 10, 2011 (gmt 0)

5+ Year Member



Yup, that explains it. I think I can play with it now. Thanks.