Find all links where an href is not provided


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* Find all links where an href is not provided */
  2. html body a:not([href]), html body a[href=''] { background: red !important;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.