There are many undergraduate classroom lecture notes on the web that describe the HR diagram in considerable detail. Here's one at the University of Oregon for example.