Skip to content

Commit

Permalink
Merge pull request #98 from rap2hpoutre/patch-2
Browse files Browse the repository at this point in the history
Adding guideline about soft-tabs for HTML
  • Loading branch information
mdo committed Apr 15, 2015
2 parents f0ec81b + dbf98df commit 14fa24b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Best practices and guidelines for writing HTML and CSS with approachable formatt

### General formatting

* Use soft-tabs with a two space indent. Spaces are the only way to guarantee code renders the same in any person's environment.
* Paragraphs of text should always be placed in a `<p>` tag. Never use multiple `<br>` tags.
* Items in list form should always be in `<ul>`, `<ol>`, or `<dl>`. Never use a set of `<div>` or `<p>`.
* Every form input that has text attached should utilize a `<label>` tag. **Especially radio or checkbox elements.**
Expand Down

0 comments on commit 14fa24b

Please sign in to comment.