Mary Hanrahan looked at her husband and said, " You'll never get anyplace unless you work for it."
If a quotation is a question, the question mark goes inside the quotation mark:
Hanrahan pointed to his bad haircut and asked, " How can I get a job looking like this?"
" Can't you wear a hat to the job interview?" Mary asked.
(Notice, if the attribution comes after a quoted question, a question mark rather than a comma separates the quotation from the attribution.)
If a sentence containing a quotation is a question but the quotation itself is a statement, the question mark at the end goes after the quotation mark:
Can you believe she said, " Wear a hat to the interview"?
Hanrahan asked his friend, " Did you hear her say 'I never believed him'?"
(Note the location of the question mark in the sentence above. The inner quote is a statement, but the outer quote is a question.)
Direct quotation: He said, " I will never surrender!"
Indirect quotation: He said that he would never surrender.
He always confused " Your" and " You're."
It is also acceptable to use italic for words used as words.
He always confused your and you're.
Click here for quotation marks used in titles