> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/funnel-builder/creating-and-editing-funnels-pages/funnel-visualizer-and-page-builder/page-builder-2.0/page-building-tips/how-to-convert-a-button-into-a-link.md).

# How to convert a button into a link

This article will show you how to convert a button on your page to a link

* [Step 1 - Locate button in the html](#howtoconvertabuttonintoalink-step1-locatebuttoninthehtml)
* [Step 2 - Adjust the code](#howtoconvertabuttonintoalink-step2-adjustthecode)
* [Step 3 - Save html and check work](#howtoconvertabuttonintoalink-step3-savehtmlandcheckwork)

### Step 1 - Locate button in the html <a href="#howtoconvertabuttonintoalink-step1-locatebuttoninthehtml" id="howtoconvertabuttonintoalink-step1-locatebuttoninthehtml"></a>

Open the html editor and search to find the button to convert into a link

<figure><img src="/files/kWSdT4jEl2pVq8oVO9mR" alt="" width="375"><figcaption></figcaption></figure>

### Step 2 - Adjust the code <a href="#howtoconvertabuttonintoalink-step2-adjustthecode" id="howtoconvertabuttonintoalink-step2-adjustthecode"></a>

The button element opens with “\<button”, contains a “data-id” (amongst other values) and then closes with “/button>”

To turn this into a link, change the opening and closing tags to “a” and adjust the “data-id” to be just “id” and change “button” to “link”

<figure><img src="/files/pWzBdq6ovEmfwj5EbaNi" alt="" width="375"><figcaption><p>Remember to save after changes</p></figcaption></figure>

### Step 3 - Save html and check work <a href="#howtoconvertabuttonintoalink-step3-savehtmlandcheckwork" id="howtoconvertabuttonintoalink-step3-savehtmlandcheckwork"></a>

After you make the adjustments, click the **Save** button on the bottom right of the editor

Then click on the element on the page to confirm it now has the Link functionality
