Re: [w3ctag/design-reviews] HTML attribute for template URLs? (Discussion #1123)

I don't know of any precedents for URL templates in markup, but that doesn't mean there aren't any.

If I'm reading the spec right, this use is for loading tile images into a map. That puts it in the "causes the resource at the given URL to be loaded" category from https://www.w3.org/TR/design-principles/#naming-of-url-attributes, meaning it should be `src` instead of `href` (modulo any adjustments for being a template instead of a URL). Also, maybe it'd make more sense to use `<source>` instead of `<link>` here?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/discussions/1123#discussioncomment-13835871
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/repo-discussions/1123/comments/13835871@github.com>

Received on Monday, 21 July 2025 16:32:25 UTC