PDF download Download Article PDF download 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.

  1. 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>
  2. <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
  3. 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>."
  4. </a></body></html>
  5. 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.
  6. Enjoy Curiosity.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Are you able to add colour to the button?
    A_random_reader
    Community Answer
    Of 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
      Advertisement

      Video

      Tips

      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,018 times.

      Is this article up to date?

      Advertisement