हिंदी

How do you make each word in a text start with a capital letter?

Advertisements
Advertisements

प्रश्न

How do you make each word in a text start with a capital letter?

कोड लेखन
लघु उत्तरीय
Advertisements

उत्तर

We set the text-transform property’s value to capitalise so that every word in a text begins with a capital letter.

For example, we define a rule as follows to ensure that every word in all <H1> components begins with a capital letter:

h1 { text-transform : capitalize ; }
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Cascading Style Sheets (CSS) - Assignment [पृष्ठ २७५]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 6 Cascading Style Sheets (CSS)
Assignment | Q 3. | पृष्ठ २७५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×