Computer Science, asked by brainlybaby64, 3 months ago


Write an HTML code for:
Heading text colour- red
Paragraph text colour- green
Font style: times

Answers

Answered by zezus
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