Quotation marks are used to show the exact words of a speaker or writer:
“Anyone can master grammar,” the teacher assured us.
Common problems with quotes include:
1) Not knowing where to put the comma.
Commas are used to set off the quote from the rest of the sentence. When the comma comes after the quote, it should go inside the quotes. So should a period, exclamation point, or question mark.
Wrong – “I hate it when someone interrupts me” , the princess declared.
Right - “You have to wait until after dinner,” the mother said.
Right - “I really want a cookie now!” the hungry child wailed.
2) A quote can begin with a capital, even when if comes after other words.
Wrong – The car dealer insisted, “this is the best deal you’re going to get.”
Right - The car dealer insisted, "This is the best deal out there.”
3) A quote can be split by the attribution – the who said. You have to decide whether the 2nd half is a full sentence or not.
If the 2nd half is a continuation of the quote, then no capital.
“I don’t like grammar,” the student said, “but I’ll do it for a good grade.” (the 2 parts are linked in meaning by the word 'but')
If the 2nd half is a sentence by itself, then use a capital.
“I like cookies,” the little boy said. “I like ice cream too!”
4) Quotes are sometimes used for titles. This can be confusing. Double-check the style guide you are using – MLA or APA – requires.