1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

hello world! i want to now hot to create a form in html code

Discussion in 'HTML & Website Design' started by angelglezpulido, Dec 4, 2021.

  1. #1
    hello world!

    Im from mexico, and i want to now hot to create a form in html code

    have a nice day
     
    angelglezpulido, Dec 4, 2021 IP
  2. dwirch

    dwirch Well-Known Member

    Messages:
    239
    Likes Received:
    12
    Best Answers:
    1
    Trophy Points:
    135
  3. CarolWWW

    CarolWWW Greenhorn

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    13
    #3
    Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to create the registration form. Step 2: Now, we have to place the cursor at that point where we want to create a form between the starting and closing of <body> tag in the Html document.
     
    CarolWWW, Dec 6, 2021 IP
  4. Mark Elijah

    Mark Elijah Greenhorn

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #4
    ¡Hola! Aquí te va un resumen de cómo crear un formulario básico en HTML:
    1. Elemento <form>: Inicia con la etiqueta <form>. Esta etiqueta define el inicio del formulario y le asigna atributos para controlarlo (acción, método, etc.).
    2. Etiqueta del formulario: Dentro de <form>, usa <h2> o <h3> para crear un título descriptivo del formulario.
    3. Campos del formulario: Utiliza etiquetas como <input> para crear campos de texto, password para contraseñas, email para correos electrónicos, etc. Cada etiqueta input necesita un atributo name para identificarla.
    4. Botón de envío: Para enviar la información del formulario, usa <button type="submit"> con un texto claro (ej. "Enviar").
    5. Cierre del formulario: Finaliza con la etiqueta </form> para cerrar el formulario.
    Aquí hay un ejemplo sencillo:
    <!DOCTYPE html>
    <html>
    <body>

    <h2>Formulario de contacto</h2>
    <form action="procesar_formulario.php" method="post">
    Nombre: <input type="text" name="nombre"><br>
    Email: <input type="email" name="email"><br>
    Mensaje: <textarea name="mensaje" rows="5" cols="30"></textarea><br>
    <button type="submit">Enviar</button>
    </form>

    </body>
    </html>
    ¡No dudes en preguntar si tienes más dudas!]
     
    Mark Elijah, Apr 22, 2024 at 4:28 AM IP
  5. Spartan14

    Spartan14 Active Member

    Messages:
    1,011
    Likes Received:
    97
    Best Answers:
    1
    Trophy Points:
    98
    #5
    Well what type of form do you need ? If its one that needs integrated in a website to capture emails then i dont see the point to build yourself in html when you have so many form creators nowadays
     
    Spartan14, Apr 22, 2024 at 7:57 AM IP