In MLA style, the correct formatting for in-text citations includes the following three elements:
- in parentheses
- at the end of a sentence
- outside the closing period
These elements ensure that the citation is clear and appropriately placed in relation to the text being cited.