Write an HTML code for:
Heading text colour- red
Paragraph text colour- green
Font style: times
Answers
Answered by
0
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
color: red;
font-family: times;
font-size: 300%;
}
p {
color: red;
font-family: times;
font-size: 160%;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Similar questions
Social Sciences,
2 months ago
Math,
2 months ago
Math,
2 months ago
Accountancy,
4 months ago
Math,
4 months ago
English,
10 months ago
Physics,
10 months ago
History,
10 months ago