Usage of White Space Property in CSS

radhakrishna
Updated on 31-Jan-2020 06:22:55

88 Views

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.    

Capitalize Text with CSS

V Jyothi
Updated on 31-Jan-2020 06:22:15

1K+ Views

To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text:                            India          

Usage of Letter Spacing Property in CSS

Govinda Sai
Updated on 31-Jan-2020 06:21:35

69 Views

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.          

Underline Text with CSS

mkotla
Updated on 31-Jan-2020 06:06:34

1K+ Views

Use the text-decoration property to underline text with CSS. You can try to run the following code to underline text:                            India          

Strikethrough Text with CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 06:05:18

1K+ Views

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.          

Align Text of a Paragraph with CSS

Abhinanda Shri
Updated on 31-Jan-2020 06:04:53

522 Views

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.          

Usage of Word Spacing Property in CSS

karthikeya Boyini
Updated on 31-Jan-2020 06:04:23

57 Views

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.          

Usage of Direction Property in CSS

usharani
Updated on 31-Jan-2020 06:03:46

81 Views

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          

Add or Subtract Space Between Words with CSS

Priya Pallavi
Updated on 31-Jan-2020 06:03:17

443 Views

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.          

Align Text of a Document with CSS

varma
Updated on 31-Jan-2020 06:02:44

92 Views

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.          

Advertisements