select link with no<a>-text

PHOTO EMBED

Mon Apr 07 2025 14:25:03 GMT+0000 (Coordinated Universal Time)

Saved by @Sebhart #css #selector #attribute #link

/* Use #CSS attribute selectors to display links when <a> has no text value but the `href` has a link. */

a[href^="http"]_empty::before {
    content: attr(href);
}
content_copyCOPY

Use #CSS attribute selectors to display links when <a> has no text value but the `href` has a link.