Adding Links & Buttons in Html
Adding Links and buttons in Html Chap3
Adding Links in Html
for adding link we use anker tag in html <a href=""></a>in double quotes we enter the address
or url of file to be linked you can also link your file locally if it is in your computer
For example
<a href="https://www.google.com/">Google</a>
Google
It Will Appear in browser like this if you click on it it will open google.com
this<a href="https://www.google.com/" target=”_blank”>Google</a>
Now let's add button in html
For adding button we use the tag of <button><button>
Write down the value you want to display between the tags like
this <button>My First Button<button>
You can also add link in Button Like this
<button><a href="https://www.google.com/">Google</a><button>
No comments