Write the HTML code to set the background colour as pink. The text This is a pink background
should be in red, aligned towards the right of the webpage and the page margin from the top
should be set as 60 pixels.
Answers
Answered by
0
<html>
<head>
<title>My webpage</title>
</head>
<body background = "pink" style="top-margin: 60px">
<p style="color: pink; text-align: right">This is a pink background</p>
</body>
</html>
Similar questions
Math,
2 months ago
Math,
2 months ago
English,
5 months ago
Computer Science,
5 months ago
English,
10 months ago
Math,
10 months ago
Computer Science,
10 months ago