Link to home
Start Free TrialLog in
Avatar of crescue
crescue

asked on

create a link with bootsrap

I am trying to learn bootstrap, and I am beginning with the simple steps, and I am having some problems.
I just want to create a link with a button that links to ex. google.com, but when I use this

<input type="button" class="btn btn-info" value="Input Button" onclick="location.href = 'http:\\www.google.com';">

if sends me to :

http://scalpscreen.net/www.google.com

(the domain where I stored the webpage is scalpscreen.net)

I just want a simple hyperlink button

Tnx
Avatar of Westside2004
Westside2004
Flag of United States of America image

Maybe something like this if you're using Bootstrap:

<a href="http://google.com" class="btn btn-info" role="button">Click to go to Google</a>
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crescue
crescue

ASKER

Lol, something so simple and I overlooked (so the previous answer, lol)

Tnx for your help