Tutorialspoint

How to set the cases for a text in CSS?

With CSS, how can I set the case for a text? I want to convert text to uppercase or lowercase?
Samual Sam
Answered on 13th Apr, 2018

Use the text-transform property to set the cases for a text. Possible values are none, capitalize, uppercase, lowercase.You can try to run the following code to set the cases for a text:<html>    <head>    </head>    <body>       <p style = "text-transform:capitalize;">          This will ... Read More

Usage of letter-spacing property in CSS

How can I use the letter-spacing property? What is its role and how can I work with it effectively?
Govinda Sai
Answered on 13th Apr, 2018

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.<html>    <head>    </head>    <body>       <p style = "letter-spacing:7px;">          This text is having space between ... Read More

Set the text shadow around a text with CSS

How to set the text shadow around the following text: , Which property is to be used in CSS to achieve this?
seetha
Answered on 13th Apr, 2018

The text-shadow property is used to set the text shadow around a text. You can try to run the following code to implement text-shadow property:<html>    <head>    </head>    <body>       <p style = "text-shadow:2px 2px 5px red;">          Indian is a country in continent ... Read More

Control the flow and formatting of text with CSS

I want to control the flow and formatting of text. Which property is to be used in CSS to achieve this?
Lakshmi Srinivas
Answered on 13th Apr, 2018

The white-space property is used to control the flow and formatting of text. You can try to run the following code to implement white-space property to control the flow of text:<html>    <head>    </head>    <body>       <p style = "white-space:pre;">          This text has ... Read More

Usage of color property in CSS

What is the role of the color property in CSS? How can I work with it effectively?
Ramu Prasad
Answered on 13th Apr, 2018

The color property is used to set the color of text. You can try to run the following code to learn how to work with the color property in CSS:<html>    <head>    </head>    <body>       <p style = "color:blue;">          This text will ... Read More

Convert text to uppercase with CSS

The following is my HTML: , How can I convert the above text to uppercase?
Prabhas
Answered on 13th Apr, 2018

To convert text to uppercase with CSS, use the text-transform property with value uppercase.You can try to run the following code to convert text to uppercase:<html>    <head>    </head>    <body>       <p>Normal Text</p>       <p style = "text-transform:uppercase;">          Normal Text! ... Read More

Usage of text-shadow property in CSS

How to work with the text-shadow property in CSS? What is its role and how can I use it effectively?
karthikeya Boyini
Answered on 13th Apr, 2018

The text-shadow property is used to set the text shadow around a text. You can try to run the following code to set the text-shadow property:<html>    <head>    </head>    <body>       <p style = "text-shadow:3px 2px 5px red;">          If your browser supports ... Read More

Usage of white-space property in CSS

How can I work with the white-space property in CSS and what is its usage?
radhakrishna
Answered on 13th Apr, 2018

The white-space property is used to control the flow and formatting of text. You can try to run the following code to implement white-space property:<html>    <head>    </head>    <body>       <p style = "white-space:pre;">          This text has a line break and the ... Read More

Convert text to lowercase with CSS

The following is my HTML: , How can I convert the above text to lowercase?
Samual Sam
Answered on 13th Apr, 2018

To convert text to lowercase with CSS, use the text-transform property with value lowercase.You can try to run the following code to convert text to lowercase:<html>    <head>    </head>    <body>       <p>Normal Text</p>       <p style = "text-transform:lowercase;">          Normal Text! This ... Read More

Capitalize text with CSS

I want to capitalize the following text with CSS: , Which property should I use in CSS to achieve this?
V Jyothi
Answered on 13th Apr, 2018

To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text:<html>    <head>    </head>    <body>       <p style = "text-transform:capitalize;">          India       </p>    </body> </html> Read More

Usage of direction property in CSS

How to work with directory property in CSS? What are the values provided by the direction property?
usharani
Answered on 13th Apr, 2018

The direction property is used to set the text direction. Possible values are ltr or rtl.You can try to run the following code to set the text direction with CSS:<html>    <head>    </head>    <body>       <p style = "direction:rtl;">          This text will ... Read More

Strikethrough text with CSS

How can I strikethrough a text with CSS? The following is my HTML: ,
Lakshmi Srinivas
Answered on 13th Apr, 2018

Use the text-decoration property to strikethrough text with CSS. You can try to run the following code to underline text:<html>    <head>    </head>    <body>       <p style = "text-decoration:line-through;">          This will be striked through.       </p>    </body> </html> Read More

Underline text with CSS

How can I underline a text with CSS? I want only a single text to get underlined: ,
mkotla
Answered on 13th Apr, 2018

Use the text-decoration property to underline text with CSS. You can try to run the following code to underline text:<html>    <head>    </head>    <body>       <p style = "text-decoration:underline;">          India       </p>    </body> </html> Read More

Align the text of a paragraph with CSS

How can I align the text of a paragraph? Which property is to be used in CSS to achieve this?
Abhinanda Shri
Answered on 13th Apr, 2018

To align the text of a paragraph, use the text-indent property.Possible values are % or a number specifying indent space. You can try to run the following code to implement a text-index property with CSS:<html>    <head>    </head>    <body>       <p style = "text-indent:2cm;">       ... Read More

Usage of word-spacing property in CSS

What is the role of word-spacing property in CSS? How can I implement it properly?
karthikeya Boyini
Answered on 13th Apr, 2018

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. You can try to run the following code to implement word-spacing property: <html>    <head>    </head>    <body>       <p style = "word-spacing:7px;">   ... Read More

Advertisements
Loading...
Unanswered Questions View All

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.