Join the Webstudio community

Updated 7 months ago

Add url to button

At a glance

The post asks how to add a URL to a pulsating button. The community members suggest that it's better to use a link element instead of a button for this purpose, as buttons are typically used for form interactions. One community member recommends watching a video that explains the difference between buttons and links. Another community member provides a specific solution, suggesting to put a link element inside a box, set the layout to display:block, and then delete the text to achieve the desired button-like appearance.

Useful resources
How can i add the url to a pulsating button?
1
R
J
S
4 comments
Add url to button
Buttons are for interactions like submitting a form and links are for links. Other platforms have misled you πŸ™‚ this vid will clear it up https://youtu.be/CLY_Kj8Qdr0
If by "button" you just mean something that looks like a button, and you'rereally asking about making a box clickable, simply put a Link element inside your box and set the layout to display:block, then delete the text.
I agree wit @John Siciliano. Good practice is to use links to redirect and if you really need a button-like appearance then you can style them as per you wish.
Add a reply
Sign up and join the conversation on Discord