Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to hyperlink in html

<a href="URL(Destination of the hyperlink)">Here, It can be an img src or button or text</a>

<!-- You can add target="_blank" if you'd like -->
<a href="https://media2.giphy.com/media/g7GKcSzwQfugw/200.gif" target="_blank"><button class="btn" style="width:100%"><i class="fa fa-download"></i>Redirect to GIF link</button></a>

<!-- CSS for the EXAMPLE I made -->
<style>
.btn {
  background-color: DodgerBlue;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

.btn:hover {
  background-color: RoyalBlue;
}
</style>
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #hyperlink #html
ADD COMMENT
Topic
Name
6+1 =