HTML code script for a Signature generator

Created on 3 July, 2024 • 167 views • 1 minutes read

HTML code script for a Signature generator

<h2>Email Signature Generator</h2>


<form id="signature-form">

 <label for="name">Name:</label>

 <input type="text" id="name" name="name" placeholder="Your Name"><br>


 <label for="title">Title:</label>

 <input type="text" id="title" name="title" placeholder="Your Job Title"><br>


 <label for="company">Company:</label>

 <input type="text" id="company" name="company" placeholder="Your Company Name"><br>


 <label for="phone">Phone Number:</label>

 <input type="tel" id="phone" name="phone" placeholder="Your Phone Number (optional)"><br>


 <label for="email">Email Address:</label>

 <input type="email" id="email" name="email" placeholder="Your Email Address"><br>


 <label for="website">Website (optional):</label>

 <input type="url" id="website" name="website" placeholder="Your Website URL"><br>


 <button type="button" onclick="generateSignature()">Generate Signature</button>

</form>


<br>


<div id="signature-preview"></div>