Chapter 1.4.3.3.2.4: Text Coding Best Practices for the Clumsy
Because, let's face it, you're not going to be coding for the masses. You're coding for yourself, and that's a beautiful thing.
- Be consistent, you philistine.
- Use a consistent color scheme, or don't even bother.
- Don't use Comic Sans, ever.
- Use a fixed-width font, because nobody likes a good ol' fashioned scroll.
Now, let's talk about line height. It's not just about aesthetics; it's about readability.
- Use a line height of at least 1.5 to avoid a wall of text.
- Don't use too much whitespace. It's like the empty pages of a used book.
- But don't be a cheapskate, either. Use enough space for your readers' eyes to rest.
And finally, because nobody likes a good ol' fashioned wall of text...
Read about typography for the faint of heart.
Learn how to choose the right colors for the colorblind.