Answer/Explanation:
For example, you can say this:
"He yelled, 'Go away!' Then he closed the door," she said.
The speaker's dialogue uses " " and the speaker within the dialogue uses ' '.
The same rules of capitalization and formatting apply otherwise.