Bad article
My page title
All news articles
This is a good example for HTML semantics
```
**Recommended**
```
```
When writing alt tags always try to describe the image as if you'd need to describe what's on the image to somebody
over the phone or who can't see the real picture.
**Not recommended**
```
```
**Recommended**
```
```
***
### Separation of Concerns
It's very important that you understand the different concerns in web and that you know how to and why to separate them.
In the web we have information (html markup), appearance (css) and behavior (Javascript) and we need to separate them as
far as possible in order to keep a maintainable and clean code.
Strictly keep structure (markup), presentation (styling), and behavior (scripting) apart, and try to keep the
interaction between the three to an absolute minimum.
That is, make sure documents and templates contain only HTML and HTML that is solely serving structural purposes.
Move everything presentational into style sheets, and everything behavioral into scripts.
In addition, keep the contact area as small as possible by linking as few style sheets and scripts as possible from
documents and templates.
Clean separation of concerns implies the following things:
1. Don't use more than one or two stylesheets (i.e. main.css, vendor.css)
1. Don't use more than one or two scripts (use concatination)
1. Don't use inline styles (``)
1. Don't use element style attributes (``) 1. Don't use inline scripts (``) 1. Don't use presentational elements (i.e. ``, ``, `
Best practices
``` *** ### General formatting Use a new line for every block, list, or table element, and indent every such child element. Independent of the styling of an element (as CSS allows elements to assume a different role per display property), put every block, list, or table element on a new line. Also, indent them if they are child elements of a block, list, or table element. (If you run into issues around whitespace between list items it’s acceptable to put all li elements in one line. A linter is encouraged to throw a warning instead of an error.) **Recommended** ```Space, the final frontier.
- Moe
- Larry
- Curly
| Income | Taxes |
|---|---|
| $ 5.00 | $ 4.50 |
This is a news article content