Text

 <!DOCTYPE html>

<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
p{
color: red;
/* text-align: center; */
/* direction: rtl; */
/* letter-spacing: 4px; */
/* word-spacing: 7px; */
text-indent: 36px;
text-decoration: underline;
text-decoration-style: double;
text-transform: uppercase;
white-space: pre;
}
h1{
text-shadow: 12px 4px 4px red;
}
</style>
</head>
<body>

<h1>Computer</h1>

<p>

This chapter teaches you how to manipulate text using CSS properties. You can
set the following text properties of an element:
The color property is used to set the color of a text.
The direction property is used to set the text direction.
The letter-spacing property is used to add or subtract space between the
letters that make up a word.
The word-spacing property is used to add or subtract space between the
words of a sentence.
The text-indent property is used to indent the text of a paragraph.
The text-align property is used to align the text of a document.
The text-decoration property is used to underline, overline, and
strikethrough text.
</p>


<pre>

This chapter teaches you how to manipulate text using CSS properties. You can
set the following text properties of an element:
The color property is used to set the color of a text.
The direction property is used to set the text direction.
The letter-spacing property is used to add or subtract space between the
letters that make up a word.
The word-spacing property is used to add or subtract space between the
words of a sentence.
The text-indent property is used to indent the text of a paragraph.
The text-align property is used to align the text of a document.
The text-decoration property is used to underline, overline, and
strikethrough text.
</pre>
</body>
</html>

Comments

Popular posts from this blog

pesudo element

sticky