Professional Documents
Culture Documents
Program :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Assignment no.2</title>
</head>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Phone</h1>
<img src="C:\Users\OM\OneDrive\Pictures\Saved Pictures\cellphone.jpg"
alt="Phone" height="300">
<h2>Wikipedia says : </h2>
<p>A telephone, or phone, is a telecommunications device that permits two or
more users to conduct a conversation when they are too far apart to be heard
directly.<br>
Read more about phone on
</p>
<a href="https://en.wikipedia.org/wiki/Telephone" target="_blank">Visit
Wikipedia</a>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Coffee</h1>
<img src="C:\Users\OM\OneDrive\Pictures\Saved Pictures\coffeehouse2.jpg"
alt="Coffee" height="300">
<p>Coffee is a brewed drink prepared from roasted coffee beans, which are the
seeds of berries from the Coffea plant.<br>
Read more about coffee on
</p>
<a href="https://en.wikipedia.org/wiki/Coffee" target="_blank">Visit
Wikipedia</a>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS</title>
<style>
body {background-color: rgb(176, 230, 185);}
h1 {color: rgb(44, 44, 124);}
p {color: rgb(199, 87, 87);}
</style>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
</body>
</html>
body {
background-color: powderblue;
}
h1 {
color: blue;
}
p {
color: red;
}
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
color: blue;
font-family: verdana;
font-size: 300%;
}
p {
border: 2px solid red;
color: red;
font-family: courier;
font-size: 160%;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>