Found 10483 Articles for Web Development

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.          

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          

Align the text of a paragraph with CSS

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

486 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.          

Add or subtract space between the words of a sentence with CSS

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

411 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 the 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.          

Indent the text of a paragraph with CSS

Samual Sam
Updated on 31-Jan-2020 06:02:11

257 Views

The text-indent property is used to indent the text of a paragraph. Possible values are % or a number specifying indent space.ExampleYou can try to run the following code to implement a text-indent property in 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.          

Add or subtract space between the letters that make up a word with CSS

Nikitha N
Updated on 31-Jan-2020 06:01:27

311 Views

To add or subtract space between the letters that make up a word, use the letter-spacing property.ExampleYou can try to run the following code to implement letter-spacing property:                            Asia is a continent.          

Usage of text-decoration property in CSS

varun
Updated on 30-Jan-2020 10:37:48

95 Views

The text-decoration property is used to underline, overline, and strikethrough text.ExampleThe following example demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink.                            This will be underlined                      This will be striked through.                      This will have a over line.                      This text will have blinking effect          

How to set the color of a text with CSS

Srinivas Gorla
Updated on 30-Jan-2020 10:39:57

231 Views

To set the color of a text, use the color property.ExampleYou can try to run the following code to learn how to work with the color property in CSS:                            ANTARTICA is a continent          

Advertisements