Do you have a video channel on YouTube? Then you may want to add this simple “Subscribe” button to your website that will help visitors subscribe to your YouTube channel with a click without having to leave your site for YouTube.

For example, here’s a “live” subscription button for my video channel on YouTube:

To embed this button to your own website, just copy-paste the following block of HTML code anywhere in your website. Then replace XYX in the subscription URL with your own YouTube username.

Amit Agarwal is a web geek and founder of Digital Inspiration, a popular tech & how-to website. He has been blogging for over a decade and has also contributed to the Wall Street Journal, Lifehacker and The Financial Express. Sign-up for the email newsletter for your daily dose of tips & tutorials.