Which css attribute would change an element’s font color to blue

In which CSS attribute would you change an element’s font color to blue? The answer is the “color” attribute. In this blog post, we will discuss which CSS attributes can be used to change other aspects of a website such as the spacing around text, the size of fonts and more!.

 

1. background-color

2. border-color

3. font-style

4. text-decoration

5. color

6. outline

7.outline

8.padding

9.text-align

<!doctype html>
<html lang="en">
  <head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Which css attribute would change an element’s font color to blue ?</title>
	<style>
	.elements{
				background-color:#000000;
				color:green;
				font-size:50px;
				text-decoration:n-resize;
				border-color:#ffffff;
				outline:dotted;
				padding:10px;
				text-align:center;
	         }
	</style>
	
  </head>
  <body>
  
    <h1 class="elements">which css attribute would change an element’s font color to blue ?</h1>
  
  </body>
</html>

 Related Post:

Which css attribute would change an element’s font color to blue

How to Get Date and Time In PHP?

Leave a Comment