Using Mathematica » Interface
Styles
Different cells have different styles, which you can access via the style menu ( Format ▶ Style ) or keyboard shortcuts. Here are a few of them:
There are many other styles of cells and there is even a way to change the styling of cells (as I have done to make this document appear the way it does), but for most projects and purposes, such as homework assignments, these styles suffice.