You are on page 1of 3

IT22309 –IT ESSENTIALS

EX.NO: 4(B)
DATE:

QUESTION: DESIGNING A VISITING CARD USING SUITABLE HTML


TAGS

AIM:

ALGORITHM:

Roll Number:2127220801035 Page No.:


PROGRAM:
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0”>
<title>Finance Company Visiting Card</title>
<style>
.card {
Max-width: 300px;
Border: 1px solid #ccc;
Padding: 20px;
Text-align: center;
}

.logo {
Max-width: 100px;
Margin-bottom: 10px;
}

.name {
Font-size: 1.2em;
Font-weight: bold;
}

.position {
Font-style: italic;
Margin-bottom: 10px;
}

.contact {
Font-size: 0.9em;
}
</style>
</head>
<body>
<div class=”card”>
<img src=”logo.png” alt=”Company Logo” class=”logo”>
<div class=”name”>Obama</div>
<div class=”position”>Financial Advisor</div>
<div class=”contact”>
Phone: 123-456-7890<br>
Email:Obama@gmail.com

Roll Number:2127220801035 Page No.:


</div>
</div>
</body>
</html>

SAMPLE INPUT AND OUTPUT:

RESULT:

Roll Number:2127220801035 Page No.:

You might also like