0
2.2kviews
Write a CSS for HTML page for (i) Set the background color (ii) Set the size of font (iii) Create a hyperlink without an underline.
1 Answer
0
245views
  • The background-color property set the color of web page.
  • Elements ‘b’ and ‘p’ are used to set different font sizes.
  • The text-decoration property is used to remove underlines from hyperlink.
  • Program :
<!DOCTYPE html>
<html>
<header>
<title>CSS Example</title>
<style>
body { background-color: lightblue;}
b { font-size: 20px;}
p { font-size: 14px;}
a { text-decoration: none;}
</style>
</header>
<body>
<Center>
<p>Welcome to the world of <b><a href="https://www.ques10.com" target="_blank">Ques10</a></b></p>
</center>
</body>
</html>
Please log in to add an answer.