Ask coding questions

← Back to all posts
How to add a URL to the background?
[deleted]

Hello,

I want the user to be able to click the background and navigate to a link that I want them to go too, is this possible to do in css or HTML5,

Thanks

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Sara-DominiqueD
Comments
hotnewtop
Coder100

Well, the thing is, you can use both:

Replace all the brackets ([...]) to the URLs you need.

[deleted]

@Coder100 thanks, should of used my brain on this one lol

Kookiez

wdym with that? if you want a link, here you go:

<a href = "something.com">This is a link</a>

you can use css to make to prettier and have effects, but nothing much. if you want the person to open the link in a new tab, do:

<a href = "something.com" target = "_blank">This is a link</a>

easy, right?

hope this helps! ;)

TheForArkLD

wdym?