Course Content

  • Lecture-30_text_indent
  • Lecture-30_text_stroke

Course Content


The text-indent property controls the indentation of a text-first block's line. Negative values are permitted. If the value is negative, the first line will be indented to the left.

This CSS attribute gives the text a stroke as well as certain decorative choices. It specifies the colour and width of text character strokes.

Text-stroke is an experimental attribute that offers text decoration options similar to those seen in Adobe Illustrator or other vector art programmes. It isn't part of any W3C or WHATWG specifications right now.

The text-indent attribute sets the amount of horizontal space text should be shifted before the first line of an element's text content.

CSS property stroke-align (formerly stroke-alignment). This CSS property is not supported by any modern browser, and there are no plans to add support for it in the near future.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere