html - 我的验证码未以 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>
但是它不会像我没有添加验证码一样加载到表单中......任何解决方案?
解决方案
您能提供更多信息吗?您是否在 head 部分添加了 recaptcha sdk?您是否使用了正确的密钥?还要检查您是否在“域”列表中正确添加了域。
推荐阅读
- c# - 编写此递归逻辑的最佳方法是什么?
- assembly - 汇编:__p___argv 的返回值
- ruby-on-rails - 每次用户编辑 textarea 条目时,ckeditor ruby gem 在条目末尾添加“>”
- java - micronaut 的 @AuthenticationPrincipal 替代方案是什么?
- perl - Excel::Writer::XLSX 写入单元格后添加格式
- python - 如何阻止python报纸3k返回空值?
- genetic-algorithm - 这个算法如何对应轮盘赌的选择?
- java - 在导出 .JAR 文件并从工作区中删除项目后,如何取回源代码?
- heroku - 在 bluehost 上转移域以指向 heroku 应用程序
- node.js - 如何使用nodejs的backblaze-b2获取backblaze.com的b2存储目录中所有文件的大小