Profile Card Design Using HTML And CSS
<!DOCTYPE html>
<html>
<head>
<title>Profile Card</title>
<style type="text/css">
.card {
box-shadow: 4px 4px 4px 4px lightgreen;
max-width: 300px;
margin: auto;;
font-family:arial;
text-align: center;
}
.title {
color: blue;
font-size: 18px;
}
button {
padding: 8px;
color: yellow;
background-color: red;
text-align: center;
width: 100%;
font-size: 18px;
}
</style>
</head>
<body>
<h2 style="text-align: center;">Profile Card</h2>
<div class = "card">
<img src="F:/website/images/images.jpg" alt="mahesh" style="width: 300px;">
<h2>Mahesh Babu</h2>
<h2 class = "title">Indian Film Actor<h2>
<h2>Telugu Film Industries</h2>
<button>Contact</button>
</div>
</body>
</html>
<html>
<head>
<title>Profile Card</title>
<style type="text/css">
.card {
box-shadow: 4px 4px 4px 4px lightgreen;
max-width: 300px;
margin: auto;;
font-family:arial;
text-align: center;
}
.title {
color: blue;
font-size: 18px;
}
button {
padding: 8px;
color: yellow;
background-color: red;
text-align: center;
width: 100%;
font-size: 18px;
}
</style>
</head>
<body>
<h2 style="text-align: center;">Profile Card</h2>
<div class = "card">
<img src="F:/website/images/images.jpg" alt="mahesh" style="width: 300px;">
<h2>Mahesh Babu</h2>
<h2 class = "title">Indian Film Actor<h2>
<h2>Telugu Film Industries</h2>
<button>Contact</button>
</div>
</body>
</html>
Comments
Post a Comment