Practical : 4
Subject : Web Technology
Aim : Develop HTML Page Using CSS which Cover image, color, text, font, border, box and margin.
Source Code :
//registration.css
.login
{
height:210px;
width:190px;
border:1px
#CCC solid;
padding:10px;
background-color:
#ccffff;
}
.login
input {
padding:5px;
margin:5px
}
//registration.html
<!DOCTYPE
html>
<html>
<head>
<title>Registration
form</title>
</head>
<body>
<div
class="login">
<h1>Registration</h1>
<input
type="text" placeholder="Username" name="txtname"
required="">
<input
type="password" placeholder="Password"
name="txtpwd" required="">
<input
type="submit" name="btnsubmit" value="Sign
In">
</div>
</body>
</html>
Output :
0 comments:
Post a Comment