Rendered at 13:46:40 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
nicbou 6 hours ago [-]
In general, anything that opens a page should also allow right-clicking to open in a new tab. That's one reason to use proper links.
itopaloglu83 12 hours ago [-]
While we’re at it, stop using the aws trackme links for everything in your email.
It’s a freaking UPS tracking number, just let me just track the darn package.
panny 16 hours ago [-]
HTML5 made me sad when it took away,
<a href="/home">
<button>Home</button>
</a>
That's validating under HTML4 strict. There was a valid way to use buttons without a form element or javascript, but now there is not. It was also neat from the standpoint that anchor doesn't allow nested block content (like a div), but button does. And since anchor doesn't require an href, you could use the same thing inside a form and let the button do the submit. That way you could uniformly style all your buttons/anchors on your entire site, whether they were really links or butttons.
semolino 13 hours ago [-]
You can style a link however you want, and nest a <span> inside it if necessary.
It’s a freaking UPS tracking number, just let me just track the darn package.
<a href="/home"> <button>Home</button> </a>
That's validating under HTML4 strict. There was a valid way to use buttons without a form element or javascript, but now there is not. It was also neat from the standpoint that anchor doesn't allow nested block content (like a div), but button does. And since anchor doesn't require an href, you could use the same thing inside a form and let the button do the submit. That way you could uniformly style all your buttons/anchors on your entire site, whether they were really links or butttons.
EDIT: CSS also has appearance: button;