<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>European Phone Number Form</title> <link rel="stylesheet" href="styles.css"> </head> <body> <h1>European Phone Number Form</h1> <form id="phoneForm"> <label for="countryCode">Country Code:</label> <select id="countryCode" name="countryCode"> <option value="+44">UK (+44)</option> <option value="+33">France (+33)</option> <option value="+49">Germany (+49)</option> <!-- Add more European country codes here --> </select> <label for="phoneNumber">Phone Number:</label> <input type="text" id="phoneNumber" name="phoneNumber" placeholder="Enter your phone number"> <button type="submit">Submit</button> </form> <script src="script.js"></script> </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter