Google Recaptcha

Google Captcha or Recaptcha, How to use the “I'm not a Robot”?

Step 1 : In the first step, we need to prepare  API  key for your site/domain where you want to implement Google recaptcha “I'm not aRobot”.

Go to link ( create API  key and see below instruction. i.e.

Step 2 :  In the second step, get site key and secret key for display Google recaptcha. i.e.

Step 3 : Please use the api.js and data-sitekey for recaptcha. i.e.

JavaScript API URL code

<script src=''></script>

HTML code

<div class="g-recaptcha" data-sitekey="6Ldbdg0TAAAAAI7KAf72Q6uagbWzWecTeBWmrCpJ"></div>

Step 4 :  The example in detail about Google Recaptcha, How to use the “I'm not a Robot”? as given below.

<!DOCTYPE html>
<html lang="en">
    <title>Google Recaptcha, How to use the “I'm not a Robot”</title>
    <script src=''></script>
    <form action="" method="post">
        <h1>Google Recaptcha, How to use the “I'm not a Robot”</h1>
            <label for="name">Name:</label>
            <input name="name" required>
            <label for="email">Email:</label>
            <input name="email" type="email" required><br />
            <label for="phone">Phone:</label>
            <input name="phone" type="phone" required><br />
        <div class="g-recaptcha" data-sitekey="6Ldbdg0TAAAAAI7KAf72Q6uagbWzWecTeBWmrCpJ"></div>
        <input type="submit" value="Submit" class="fb9" />

The live output,


Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
Post a Comment Powered by Blogger.
ASK Questions