Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design Web Typography Basic Web Typography Font-Sizing: Px, Em, and Rem

Michael Pashkov
Michael Pashkov
22,024 Points

Is it ok to have no indentation in the first line of a sentence in a paragraph?

Is it ok to have no indentation in the first line of a sentence in a paragraph? What is better this

<p>"No one would have believed in the last years of the nineteenth century that this world was being watched keenly and closely by intelligences ...."</p>

or this <p>     "No one would have believed in the last years of the nineteenth century that this world was being watched keenly and closely by intelligences greater than man’s and yet as mortal as his own; that as men busied themselves about their various concerns ..."</p>

If it is better with indentation. What indentation should be?

2 Answers

No indentation - so your first example.

The whitespace in your second example will be ignored by the browser anyway and give you the same effect.

Michael Pashkov
Michael Pashkov
22,024 Points

Paul - thank you for your response. I wonder if any rules about indentation in the web? I can put &#160; for indentation.

Michael Pashkov
Michael Pashkov
22,024 Points

Later Mattox Shuler will talk about it. p + p { text-indent: 2em; }