Most "how to cite" articles stop at the example. They show you the formatted string and call it done. That misses the harder problem for anyone building tooling or maintaining a style guide: the citation table is a lookup graph, not a template. Every input you accept has to be classified, ordered, punctuated, and italicized according to rules that branch on context. This piece walks through the actual rule set behind MLA 9's Works Cited structure, the edge cases a generator must handle, and the validation steps that catch mistakes before they ship.
If you need the parallel walkthrough for monograph-style sources, the in-depth guide on constructing a book entry the same way is at How to Create an MLA Citation for a Book. For reference, the canonical rule source is the MLA Handbook overview on Wikipedia, and the field-level typography rules fall back on the Modern Language Association's own style center.
Why MLA 9 Looks Simple but Behaves Like a Grammar
A Works Cited entry is a sequence of "core elements" plus a container. The Modern Language Association names nine core elements: author, title of source, title of container, other contributors, version, number, publisher, publication date, and location. When you see a citation in print, those elements are interleaved with commas, periods, colons, italics, quotation marks, and quotation-inside-italics rules. The output looks declarative, but each element's presence depends on what was omitted upstream.
For a practitioner building or auditing a generator, the useful mental model is a finite-state machine. Each element slot is a state. Transitions depend on the kind of source (book, journal article, web page, video, dataset), the presence or absence of a DOI/URL, and whether the source sits inside a larger container. Punctuation is emitted between states, and the punctuation itself can change based on adjacency — for example, a comma after an author name becomes a period when an author is missing and a title now opens the entry.
A typical three-state sequence for a journal article looks like:
- Author. — Period if author present, else the title opens.
- "Article Title." — Always quoted, always terminated.
- Journal Name, vol. X, no. Y, year, pp. start–end. — Italics on the journal name, comma before volume, comma before pages.
That collapses neatly when you read a finished entry. Underneath, the generator has to answer six questions before it can even pick the punctuation: Is there a personal author? Is there an organization author? Is the source a stand-alone work or nested? Does it have stable pagination? Does it have a DOI? Does it have an access date?
The Containers Model: Why "Where Did You Read It?" Is the Hard Question
MLA 9 introduced the container concept to handle the reality that scholarship now lives in nested publication layers. A tweet is published on Twitter (container 1) and archived by the Library of Congress (container 2). A journal article sits in a journal (container 1) that sits inside a database (container 2). A chapter sits inside a book (container 1) that sits inside a platform (container 2).
The generator rule: each container contributes its own author, title, publisher, date, and location. When container 2 exists, repeat the metadata block with the secondary publication's identifiers. This is the single largest source of buggy output, because most generators stop after container 1.
The practical implication for QA is that any test fixture should include at least one two-container source — a journal article retrieved from JSTOR, a YouTube video uploaded by a channel, a poem inside an anthology inside a database. If your validator only sees single-container entries, container-2 punctuation (a second comma cluster, a second period cluster, an additional italicized title) will silently break.
The Four Punctuation Edges That Bite Real Users
Once the element sequence is right, four edge cases still produce malformed output in the wild.
1. The orphaned comma before "et al." When a source has three or more authors, MLA inverts the first author and writes ", et al." The comma before "et al." is the author's own inverted-name separator, not a list separator. Tools that treat "et al." as a string substitution often produce Smith, John, et al. (two commas) or Smith, John et al. (no comma). Both fail style review.
2. Period after an italicized title. The terminal punctuation after an italicized title is not italicized. So *Journal of Foo* followed by a comma is *Journal of Foo*, — the period (or comma, depending on what follows) sits outside the emphasis marks. Italic-then-period, italic-then-comma, italic-then-colon all behave differently from italic-then-quote, which does keep the closing quote outside the italics.
3. The DOI vs. URL decision. MLA 9 prefers a DOI when one is available; otherwise a permalink. The string https://doi.org/10.... is preferred over the older doi: prefix. A generator that emits a DOI without the https://doi.org/ resolver path will pass a casual eye test but fail formatting review.
4. Access dates on subscription-only sources. MLA dropped the mandatory access date in the 9th edition, but still recommends it when the source is unstable, paywalled, or likely to change. The decision tree: open-access stable URL → no date needed. Subscription database → include the date. Personal website → include the date. Software that always emits the date looks pedantic; software that never emits it loses points on subscription work.
A Checklist You Can Apply to Any Generated Entry
Run each candidate output through this list before shipping:
- Does the entry open with an author (or "unknown") and end with a stable location (page range, DOI, or URL)?
- Are all title-level italics correctly terminated, with punctuation sitting outside the emphasis marks where required?
- Are container boundaries honored — that is, does each container get its own author/title/publisher/date/location block?
- Is "et al." used only for three-or-more authors, and preceded by exactly one comma?
- For journals: is the volume number abbreviated as
vol., the issue asno., and the page range aspp.? - For web sources: is a DOI used when present, otherwise a permalink, and an access date included only when the source is unstable?
- Are quotation marks used for short works (articles, chapters, episodes) and italics for long works (books, journals, albums, websites)?
- Does the entry end with a period?
A generator that fails any of these will produce plausible-looking but formally incorrect output. Most "looks right to me" defects fail step 2 or step 3.
What a Generator Should Refuse to Guess
A useful generator is opinionated about uncertainty rather than guessing silently. Three input fields are worth gating with a confirmation prompt rather than a default value.
Author ordering. "John Smith" could be first-last or last-first depending on cultural convention. The MLA default for English-language Western names is last-first. For names where the author publishes under a single name (mononyms, screen names), the convention shifts. Prompting the user with "How does this author publish?" is faster than producing an entry that flips the order.
Title casing. MLA uses headline case for titles of stand-alone works and sentence case for titles of containers, with some exceptions. Guessing produces entries where the wrong casing convention is silently applied. Better to ask or expose a toggle.
Date format. MLA permits several date styles (15 Mar. 2024, Mar. 15, 2024, 2024) and recommends consistency within a paper. A generator that picks a style and never surfaces it forces the writer to retrofit. Exposing the choice and remembering it for the session is the right trade-off.
Frequently asked questions
What's the minimum a Works Cited entry must contain to be considered valid?
At least a title and a location (a page range, a DOI, or a URL), plus the publication date if available. An entry with only a title and no date or location is unverifiable and will be flagged by any reviewer.
Why does my generator put a comma where MLA examples show a period?
Most often this is a container-boundary issue. The comma you see belongs to the first container's metadata. The period that closes the second container is the one your generator is missing. Count the punctuation clusters; an MLA entry with two containers has two distinct period-terminated blocks.
How do I handle a source with no author?
Open the entry with the title in the author slot. Do not write "Anonymous." Do not write "No author." Just move the title into the first position and follow it with a period, then continue with the rest of the element sequence.
Can a single generator handle both MLA 9 and MLA 7 outputs?
Not by accident. MLA 9 introduced the container model and dropped the access-date requirement; MLA 7 required the access date and used a flatter structure. If you support both, the date field, the container repetition, and the medium designation (MLA 7's "Web," "Print," "Television") are the three areas where the schemas differ.
This article was drafted with AI assistance and reviewed for technical accuracy before publishing.
Top comments (0)