Horje

How to Set the color of text in a document (with CSS)

Follow the Example.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
<style>
body {
  color: green;
}
</style>
</head>
<body>

<h1>Hello world!</h1>
<p>This is some text.</p>
<p><a href="https://horje.com">Visit Horje.com!</a></p>

</body>
</html>

Output should be:

How to Set the color of text in a document (with CSS)




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin