Download Article
Download Article
Want to make your HTML website more attractive? What about adding buttons to your website? Cool isn't it? Here are the steps by which you can insert buttons in an HTML website.
Steps
-
Do a simple HTML coding . Once, you are through with the process, you can use it in your website.
- For now, keep your coding simple. Include tags like <title>, <head> and <body>
-
Add <a href> tag under the <body> tag. <a href> tag is used to insert hyperlinks.
- Under the <a href> tag and add your desired URL, say " https://www.wikihow.com/ ". The syntax of <a> tag is: <a href = "URL"> Your text / button here"</a>
Advertisement -
Under <a> tag, add <button>tag. This tag is used to add buttons in an HTML document.
- Add the desired text you want to display under the <button> tag. The syntax for the button tag is: "<button> Your Text Here </button>."
-
Close the button tag and complete the coding by adding tags i.e. </a></body></html>
-
Save the text file as an HTML document . You can do so by going to Save asoption on you text editor and adding the .htmlextension to the file name.
-
Finished! Enjoy Curiosity.
Advertisement
Community Q&A
Search
-
QuestionAre you able to add colour to the button?Community AnswerOf course! With CSS: color:#a3a3a3; will give you a gray text color. background-color:#00ffff; will give it a cyan background color.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- Always remember to add the prefix "http://" before the URL.Thanks
- Use advanced coding applications like Adobe Dreamweaver, MS Front Page, etc. for assisted coding.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 64,020 times.
Advertisement