+ 7

How to put a link in css (not css stylesheet linking)

As an example; I've made a button,which will go to www.google.com as it is pressed...the code is; ( https://code.sololearn.com/WFvsuSdR2p9a/?ref=app ) So without putting that link(http://www.google.com) in html,can I and how to put the link in css side.....I won't it to happen the same thing but can I put that link in css and will it work when I press the button....🤔

7th Jan 2021, 4:12 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
1 Resposta
+ 2
you can't, either you change it in the Java script or put in the html, CSS cannot modify the tags by itself
7th Jan 2021, 4:48 AM
CutieRei
CutieRei - avatar