[Support request] I want to use email newsletter without plugin

Home Forums Support I want to use email newsletter without plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1174438
    Hridoy

    Below I mentioned a code that I generated from W3Schools. But when someone puts their email on the form, the form does not work.

    Actually, I want to use an email newsletter or subscriber form for my site without any plugin…

    `<!DOCTYPE html>
    <html>
    <style>
    body {font-family: Arial, Helvetica, sans-serif;}

    form {
    border: 3px solid #f1f1f1;
    font-family: Arial;
    }

    .container {
    padding: 20px;
    background-color: #f1f1f1;
    }

    input[type=text], input[type=submit] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    }

    input[type=checkbox] {
    margin-top: 16px;
    }

    input[type=submit] {
    background-color: #4CAF50;
    color: white;
    border: none;
    }

    input[type=submit]:hover {
    opacity: 0.8;
    }
    </style>
    <body>

    <h2>CSS Newsletter</h2>

    <form action=”/action_page.php”>

    <center><h2>Subscribe to our Newsletter</h2></center>
    <input type=”text” placeholder=”Name” name=”name” required>
    <input type=”text” placeholder=”Email address” name=”mail” required>
    <input type=”submit” value=”Subscribe”>

    </form>

    </body>
    </html>

    #1174453
    Leo
    Staff
    Customer Support

    Hi there,

    This is something that should be handled by a plugin.

    You would need check with the code author if you want to use a custom code solution.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.