Welcome to WebmasterWorld Guest from 54.167.229.178

Forum Moderators: open

Message Too Old, No Replies

<a> tag

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

Junior Member

5+ Year Member

joined:July 4, 2007
posts:112
votes: 0


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?
1:37 am on Nov 10, 2011 (gmt 0)

Senior Member from US 

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

joined:Oct 17, 2005
posts: 4987
votes: 12


[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://"
1:40 am on Nov 10, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:July 4, 2007
posts:112
votes: 0


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