asmiles free asked 5 years ago


Expected behavior the button to link to a url

Actual behavior not happening

I am trying to link from a button. Could you provide a working demo please? My code does not seem to work when I enter a url into it. Original code here:

 <a class="btn btn-outline-white btn-sm">
                          <i class="fas fa-volume-up left"></i> Play Audio</a>

Resources (screenshots, code snippets etc.) My code:

<a target="_blank" href"" class="btn btn-outline-white btn-sm">
                          <i class="fas fa-volume-up left"></i> Play Audio</a>

sergeysh free answered 5 years ago


thank you for posting it here! just what i was looking for)


asmiles free answered 5 years ago


This was fixed by using this:

<a href="your_url.html" class="btn btn-outline-white btn-sm">
                            <i class="fas fa-volume-up left"></i> Play Audio</a>
                          </a>


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.5
  • Device: All
  • Browser: All
  • OS: Windows
  • Provided sample code: No
  • Provided link: No