Download ArticleDownload 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. How.com.vn English: Step 1 Do a simple...
    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. How.com.vn English: Step 2 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
  3. How.com.vn English: Step 3 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>."
  4. How.com.vn English: Step 4 Close the button tag and complete the coding by adding tags i.e.
    </a></body></html>
  5. How.com.vn English: Step 5 Save the text...
    Save the text file as an HTML document. You can do so by going to Save as option on you text editor and adding the .html extension to the file name.
  6. How.com.vn English: Step 6 Finished!
    Enjoy Curiosity.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Are you able to add colour to the button?
    How.com.vn English: A_random_reader
    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
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.
      • Use advanced coding applications like Adobe Dreamweaver, MS Front Page, etc. for assisted coding.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 60,696 times.
      How helpful is this?
      Co-authors: 5
      Updated: April 21, 2024
      Views: 60,696
      Thanks to all authors for creating a page that has been read 60,696 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement