SitePoint
Reference
CSS
Typographical Properties
text-indent
CSS Live Demo: text-indent
(this page)
See also:
All Live Demos
CSS Live Demo: text-indent
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
p { margin:0; text-indent:1.5em; } p:first-child { text-indent:0; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<p>When I was quite small I would sometimes dream of a city — which was strange because it began before I even knew what a city was. But this city, clustered on the curve of a big blue bay, would come into my mind. I could see the streets, and the buildings that lined them, the waterfront, even boats in the harbour; yet, waking, I had never seen the sea, or a boat...</p> <p>And the buildings were quite unlike any I knew. The traffic in the streets was strange, carts running with no horses to pull them; and sometimes there were things in the sky, shiny fish-shaped things that certainly were not birds.</p> <p>Most often I would see this wonderful place by daylight, but occasionally it was by night when the lights lay like strings of glow-worms along the shore, and a few of them seemd to be sparks drifting on the water, or in the air.</p> <p>It was a beautiful, fascinating place, and once, when I was still young enough to know no better, I asked my eldest sister, Mary, where this lovely city could be.</p>
Show me!
Your results appear here: