Hacker News·5 min read·medium
The Difference Between a Button and a Link
A
alexpetros✦AI Summary
The author proposes adding 'action' and 'method' attributes to HTML buttons to standardize how they handle requests. The article argues that buttons and links serve distinct semantic purposes, with links representing destinations and buttons representing actions.
Of the three proposals in the Triptych Project , my multi-year odyssey to add a few small-but-powerful features to HTML, the one that generates the most questions is Button Actions . The proposal itself is very straightforward: we want to add the action and method attributes to the button.
technologydesign
✦
Get the full story
Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.
Create free accountAlready have an account? Sign in