Formulario
Formulario
DOCTYPE html>
<html lang="en">
<head>
<script>
function hola() {
alert("Bienvenido, a continuacion realice el registro"); }
</script>
<script>
function onLoadCallBack (){
grecaptcha.render('divrecaptcha',{
sitekey: '',callback: succescall,
});
}
</script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/
bootstrap.min.css" rel="stylesheet" integrity="sha384-
GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous">
<link rel="stylesheet" href="stylef.css">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<title>formulario</title>
</head>
<body onLoad=hola();>
<form action="" name="formulario" method="get ">
<section class="form-register">
<h4> Formulario registro </h4>
<input class="controls" type="text" name="nombres" id="nombre" placeholder="Ingrese
su nombre">
<input class="controls" type="text" name="apellidos" id="apellidos"
placeholder="Ingrese sus apellidos">
<input class="controls" type="email" name="correo" id="correo" placeholder="Ingrese
su correo">
<input class="controls" type="password" name="correo" id="correo"
placeholder="Ingrese su contraseña">
<p> Estoy de acuerdo con <a href="#">Terminos y Condiciones</a></p>
<input type="checkbox" name="terminos" id="terminos"> Acepto terminos y Condiciones
<br>
<input class=" botons" type="submit" value="Registrar">
</body>
</html>
--------------------PARTE EN CSS-----------------------
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url('fondo.jpg');
}
.form-register {
width: 400px;
background: #24303c;
padding: 30px;
margin: auto;
margin-top: 100px;
border-radius: 5px;
font-family: 'Times New Roman';
color: white;
box-shadow: 7px 13px 37px #000;
}
.form-register h4 {
font-size: 22px;
margin-bottom: 20px;
}
.controls {
width: 100%;
background: 24303c;
padding: 10px;
border-radius: 4px;
margin-bottom: 16px;
border: 1px solid #1f53c4;
font-family: 'calibri';
font-size: 18px;
}
.form-register p {
height: 40px;
text-align: center;
font-size: 18px;
line-height: 40px;
}
.form-register a:hover {
color: aliceblue;
text-decoration: underline;
}
.form-register .botons {
width: 100%;
background: #1f53c4;
border: none;
padding: 12px;
color: white;
margin: 16px 0;
font-size: 16px;
}
.form-register .checkbox {
width: 100%;
font-family: 'Times New Roman';
text-align: center;
}