In Bootstrap we can make a button have various colors by setting various class types e.g. : btn btn-info, btn btn-primary etc.
We can also make a button look like a link (an anchor tag) using the class btn btn-link,
Let's see an example :
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap : Button as link</title>
<meta charset="utf-8">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<button type="button" class="btn btn-link">This is a button, but looks like a link</button>
</body>
</html>
Output :
![button as link output button as link output](https://code2care.org/pages/make-bootstrap-button-look-like-a-link/images/button as link output.png)
button as link output
More Posts related to Bootstrap,
- [Solved] Bootstrap tooltip not working
- Create Bootstrap carousel slider with Text
- Bootstrap tooltip not working
- How to disable button in Bootstrap
- Vertical align two div's in Bootstrap [HTML CSS]
- Bootstrap Button Colors Classes
- How to Change Bootstrap Carousel Slide Speed
- Right Align Text in Bootstrap framework
- How to add hint text in bootstrap input text field and text area
- Simple Login Page using Bootstrap
- Make Bootstrap Button look like a link
- Align left align text in Bootstrap
- Bootstrap Nav Menu Dropdown on hover
- Rounded Images in Bootstrap framework
- What is Bootstrap Jumbotron and how to use it
More Posts:
- Python Program: Use NumPy to generate a random number between 0 and 1 - Python-Programs
- Fix: Eclipse Connection time out: github.com - Eclipse
- MacBook - Time Limit - You have reached your time limit, Ignore Limit - MacOS
- Create Custom Android AlertDialog - Android
- Python: Pandas Rename Columns with List Example - Python
- How to configure PDF iFilter for SharePoint - SharePoint
- Upload Pdf file using PHP Script - PHP
- Align html element at the center of page vertically and horizontally - Html