Friday 1 November 2019

How to write a button with a link in html?




I wrote the text of this button from html?








Answer



The simple answer: You can't.



You can use a link tag using a tag and add it href attribute like this:




Click


Or you can use javascript like this:










No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...