AJKCJDC
AJKCJDC

Reputation: 95

How can I link a button to another page using bootstrap

I was wondering how I can make my button link to another page. Below is my attempt. However, the button doesn't link to the "About Me" page. The files are all in the same folder and I haven't spelt the same wrong therefore, have I coded the button wrong that's why it doesn't linked to the desired page?

<div class="container text-center">
            <a href="About Me.html" class="btn btn-info" role="button">Click here to find more about me</a>
</div>

Upvotes: 0

Views: 12265

Answers (1)

Alessio
Alessio

Reputation: 3610

You should put into the href the file name of the page "About Me".

A tip: try to avoid spaces, which should be encoded inside the URL string.

<div class="container text-center">
   <a href="about-me.html" class="btn btn-info" role="button">Click here to find more about me</a>
</div>

Upvotes: 1

Related Questions