Value vs Placeholder
How do I make an value vs placeholder?
A quick demo of the pros of using placeholder rather than value for a form.. What is a value vs placeholder? How do you make a value vs placeholder? This script and codes were developed by Saysora on 26 August 2022, Friday.
Value vs Placeholder - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Value vs Placeholder</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="wrap"> <div id="middleWorks"> <div class="padding"> <div id="showMe"> <h1>Input Fields</h1> <h2>'Value' versus 'PlaceHolder'</h2> <br> <h3>Value</h3> <label>Email</label> <input type="text" value="Email"> <input type="submit"> <br> <h3>Placeholder</h3> <label>Email</label> <input type="text" placeholder="Email"> <input type="submit"> </div> </div> </div>
</div>
</body>
</html>
Value vs Placeholder - Script Codes CSS Codes
* { margin: 0; padding: 0;
}
html, body { height: 100%;
}
body { color: #fff; font-family: "Helvetica";
}
#wrap { height: 100%; background: #2c3e50;
}
#middleWorks { background: #34495e; width: 960px; max-width: 100%; height: 100%; margin: 0 auto;
}
.padding { padding: 10px;
}
input[type="text"], input[type="email"] { border: none; padding: 10px 15px; background: #fff; font-size: 1.2em; color: #000; margin: 10px;
}
input[type="submit"] { border: none; background: #27ae60; color: #fff; font-size: 1.2em; padding: 10px 15px; outline: none;
}
input[type="submit"]:hover { background: #2ecc71;
}
input[type="submit"]:active { background: #229854;
}
Developer | Saysora |
Username | azureknight |
Uploaded | August 26, 2022 |
Rating | 3 |
Size | 2,244 Kb |
Views | 34,408 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Info Cards | 3,926 Kb |
Flat UI Login | 3,358 Kb |
Grow Circle Animation | 2,075 Kb |
Service Card Animation | 3,567 Kb |
CSS Full Width Content Menu | 3,712 Kb |
CSS Browser | 2,611 Kb |
Simple Loading Bar | 2,513 Kb |
Ralph Lauren Mimic | 3,067 Kb |
A Pen by Saysora | 2,253 Kb |
Legend of Zelda - Triforce | 2,530 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Project MMetro beta | Atomicsong | 5,157 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Loading animation | Hafizfattah | 0 Kb |
Pure CSS Torch Light | Juliendargelos | 2,727 Kb |
Impress JS Algorhytmic Generator | Jeffscottward | 7,906 Kb |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
CSS 3D Radio buttons | Andreasnylin | 1,650 Kb |
Bubble animation | Ftabor | 6,565 Kb |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 Kb |
Boxes | H3l1um | 2,563 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!