The white-space property is used to control the flow and formatting of text.ExampleYou can try to run the following code to implement white-space property: This text has a line break and the white-space pre setting tells the browser to honor it just like the HTML pre tag.
To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text: India
The letter-spacing property is used to add or subtract space between the letters that make up a word. Possible values are normal or a number specifying space. This text is having space between letters.
Use the text-decoration property to underline text with CSS. You can try to run the following code to underline text: India
Use the text-decoration property to strikethrough text with CSS. You can try to run the following code to underline text: This will be striked through.
To align the text of a paragraph, use the text-indent property.ExamplePossible values are % or a number specifying indent space. You can try to run the following code to implement a text-index property with CSS: This text will have first line indented by 2cm and this line will remain at its actual position this is done by CSS text-indent property.
The word-spacing property is used to add or subtract space between the words of a sentence. Possible values are normal or a number specifying space. ExampleYou can try to run the following code to implement word-spacing property: This text is having space between words.
The direction property is used to set the text direction. Possible values are ltr or rtl.ExampleYou can try to run the following code to set the text direction with CSS: This text will be renedered from right to left
The word-spacing property is used to add or subtract space between the words of a sentence. Possible values are normal or a number specifying space. ExampleYou can try to run the following code to implement word-spacing property. Asia is a continent.
The text-align property is used to align the text of a document. Possible values are left, right, center, justify.ExampleYou can try to run the following code to align text: Asia is a continent. Asia is a continent.
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP