How Does Writing CSS Differ From Writing HTML?

As we write CSS these are the type of questions we might ask ourselves:

All of the questions above deal with the aesthetic considerations of the page. These are the concerns of the presentation layer (CSS).

As a contrast, let's consider the type of questions we might ask ourselves as we write HTML:

The last few questions deal with structure, hierarchy, and meaning. These are the concerns of the content layer (HTML).

When we write CSS, we focus on aesthetic and display considerations. When we write HTML, we focus on structure, hierarchy, and meaning.