HTML
<form action="" method="post">CSS
<div id='name' class='outerDiv'>
<label for="name">Full name:</label>
<input type="text" name="name" required />
<div class='message' id='nameDiv'> Enter your
first and last name. </div>
</div>
<div id='username' class='outerDiv'>
<label for="number">Username:</label>
<input type="text" name="username" required />
<div class='message' id='usernameDiv'> Pick a
unique name on Twitter. </div>
</div>
<div id='password' class='outerDiv'>
<label for="password">Password:</label>
<input type="password" name="password" required />
<div class='message' id='websiteDiv'>6 characters
or more (be tricky!).</div>
</div>
<div id='email' class='outerDiv'>
<label for="email">Email:</label>
<input type="email" name="email" required />
<div class='message' id='emailDiv'> We'll send
you a confirmation.</div>
</div>
<div id='submit' class='outerDiv'>
<input type="submit" value="Create my account" />
</div>
</form>
#twitter input:not(:focus){Berikut ini untuk mengdownload versi lengkap program tersebut disini dan penulis ingin mengucapkan ke dairykusaja.blogspot.com atas informasi penting ini
opacity:0.6;
}
#twitter input:required{
}
#twitter input:valid {
opacity:0.8;
}
#twitter input:focus:invalid{
border:1px solid red;
background-color:#FFEFF0;
}
Posting Komentar