How to Punctuate a Quote
Basically, any punctuation that comes before the beginning of the quote goes outside of the quotation marks, and any punctuation that comes at the end of the quote stays inside the marks. Study these examples:
Then he said, “How would you like to get some ice cream after the movie?”
In this sentence, there is a lead-in to the quote. Notice that at the end of the lead-in, before the quote begins, there is a comma. And at the end of the quote, still inside the quotation marks, is the question mark.
“I would love to,” I replied, “but I really ought to go home.”
Here, the quote is divided into two phrases - “I would love to” and “but I really ought to go home.” This is one sentence, that has been split up to identify the speaker in the middle. You can break up a quote like this as long as you split it at an appropriate place, and there are three appropriate places to divide a quote:
Between clauses - She buys in bulk / because it’s cheaper.
Before the main clause starts - In the spring, / I like to sit outside and read.
Before the verb - The man in the tuxedo / had been staring intently into his bourbon for the better part of an hour.
“Oh,” he said sadly and turned to walk away.
In this final sentence, the quote comes at the beginning. If the quote would normally end with a period like this one, use a comma inside the quotation marks, and then continue the sentence outside. If the quote would end with a question mark or an exclamation point, use that inside, and then continue the sentence outside the quotation marks.“Where are you going?” she asked.“I love it!” he exclaimed.
If your quoted text is a complete sentence (or multiple sentences), capitalize the first letter of the sentence(s) regardless of where you put the quote within the larger sentence. “We went to the movies,” she said.
She said, “We went to the movies.”