In both major styles, regardless of placement, only one end mark (?, !, or .) can end a sentence. Only the period, however, "may not" end a quoted sentence when it does not also end the enclosing sentence, except for literal text: