Commas within the quoted sentence:
* "The quick brown fox, jumps over the lazy dog," said the teacher.
* "I went to the store, bought some milk, and came home," she said.
Commas outside the quoted sentence:
* "That's a great idea," she said, "let's do it!"
* "I'm not sure I understand," he said, looking confused.
Commas both inside and outside the quoted sentence:
* "I love your new car," she said, "especially the color."
Important points to remember:
* Commas are placed within the quotation marks when they are part of the quoted sentence.
* Commas are placed outside the quotation marks when they are part of the sentence that contains the quotation.
* If a quoted sentence ends with a question mark or exclamation point, the period is placed inside the quotation marks.
Let me know if you have any other questions!