Я пытаюсь добавить reCAPTCHA в мою форму html5, но я не знаю, как правильно настроить выравнивание. в HTML4, с таблицами это легко, но я пытаюсь придерживаться новых стандартов HTML5 формы. я не знаю, что обернуть php, чтобы он появился рядом с надписью «Вы человек» и под полем сообщения, что у вас на уме.
Заполните форму =
<section><div class="form" id="contact">
<h1>Send an email</h1>
<form action="files/post.php" method="post">
<input type="hidden" name="recipient" value="">
<fieldset>
<label for="name">Name:</label>
<input type="text" id="name" placeholder="Enter your full name" />
<label for="email">Email:</label>
<input type="email" id="email" placeholder="Enter your email address" />
<label for="date">Date:</label>
<input type="date" id="date" placeholder="Enter the date of the event" />
<label for="tel">Tel:</label>
<input type="tel" id="tel" placeholder="Enter your Telephone Number" />
<label for="message">Message:</label>
<textarea id="message" placeholder="What's on your mind?"></textarea>
<label for="message">Are you Human?</label>
<?php
require_once('recaptchalib.php');
$publickey = "6Lf27scSAAAAALfYQeflC11-0lcRf8DVU42H69nC"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
<input type="submit" value="Send message" />
</fieldset>
</form>