Jump to content
  • Create New...

[Codes / Scripts] Email Newsletter


Recommended Posts



<!DOCTYPE html>
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: blue;
  color: white;
  border: none;

input[type=submit]:hover {
  opacity: 0.8;

<form action="/action_page.php">
  <div class="container">
    <h2>Subscribe to our Newsletter</h2>

  <div class="container" style="background-color:white">
    <input type="text" placeholder="Name" name="name" required>
    <input type="text" placeholder="Email address" name="mail" required>
      <input type="checkbox" checked="checked" name="subscribe"> Daily Newsletter

  <div class="container">
    <input type="submit" value="Subscribe">



  • Like 4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.