首页 > 解决方案 > 我的验证码未以 html 形式出现

问题描述

好吧,我得到了这个代码

<html>
<div class="form">
					<h2>Login to your account</h2>
					<form action="#" method="post">
					  <input type="text" name="Username" placeholder="Username" required=" ">
					  <input type="password" name="Password" placeholder="Password" required=" ">
					  <div class="g-recaptcha" data-sitekey="thecode"></div>
					  <input type="submit" value="Login">
					</form>
				  </div>
				  <div class="form">
					<h2>Create an account</h2>
					<form action="#" method="post">
					  <input type="text" name="Username" placeholder="Username" required=" ">
					  <input type="password" name="Password" placeholder="Password" required=" ">
					  <input type="email" name="Email" placeholder="Email Address" required=" ">
					  <input type="text" name="Phone" placeholder="Phone Number" required=" ">
					  <div class="g-recaptcha" data-sitekey="thecode"></div>
					  <input type="submit" value="Register">
					</form>
				  </div>
          </html>

但是它不会像我没有添加验证码一样加载到表单中......任何解决方案?

标签: html

解决方案


您能提供更多信息吗?您是否在 head 部分添加了 recaptcha sdk?您是否使用了正确的密钥?还要检查您是否在“域”列表中正确添加了域。


推荐阅读