The following is from Purdue OWL
Poem in a book:
Author of Poem's Last Name, First Name. "Title of Poem." Title of Book: Subtitle if Any, edited by Editor's First Name Last Name, Edition if given and is not first, Publisher Name often shortened, Year of Publication, pp. Page Numbers of the Poem.
Burns, Robert. "Red, Red Rose." 100 Best-Loved Poems, edited by Philip Smith, Dover, 1995, p. 26.
If the specific literary work is part of the author's collection (all of the works have the same author), then there will be no editor to reference:
Whitman, Walt. "I Sing the Body Electric." Selected Poems, Dover, 1991, pp. 12-19.
In-text Citation: (Whitman, pp 12-19).
*For poems, cite the line(s) of the poem, rather than the page number in the in-text citation.*
The following is from Purdue OWL
If the poem is from a website, cite it as you would a page on a website.
Author's Last Name, First Name. "Title of Poem." Title of Website, Name of Organization Affiliated with the Website, Date of copyright or date last modified/updated, URL. Accessed Day Month Year site was visited.
Keats, John. "On the Grasshopper and Cricket." Poetry Foundation, Poetry Foundation, 2020, https://www.poetryfoundation.org/poems/53210/on-the-grasshopper-and-cricket. Accessed 24 March 2020.
In-text Citation: (Keats, lines 5-8).
*For poems, cite the line(s) of the poem, rather than the page number in the in-text citation.*
The following is from Purdue Owl:
To indicate short quotations (four typed lines or fewer of prose or three lines of verse) in your text, enclose the quotation within double quotation marks. When using short (fewer than three lines of verse) quotations from poetry, mark breaks in verse with a slash, ( / ), at the end of each line of verse (a space should precede and follow the slash). If a stanza break occurs during the quotation, use a double slash ( // ).
The first time you quote a poem, use the word “line” or “lines.” In subsequent references, only include the actual line numbers.
Example:
Frost's poem, Stopping by Woods on a Snowy Evening, begins with familiarity, "Whose woods these are I think I know. / His house is in the village though;" (lines 1-2).
The closing lines of Frost’s poem have a sleepy, dream-like quality: “The only other sound’s the sweep / Of easy wind and downy flake // The woods are lovely, dark and deep” (11-13).
The following comes from Purdue Owl:
For quotations that are more than four lines of prose or three lines of verse, place quotations in a free-standing block of text and omit quotation marks. Start the quotation on a new line, with the entire quote indented 1/2 inch from the left margin while maintaining double-spacing. Your parenthetical citation should come after the closing punctuation mark. When quoting verse, maintain original line breaks. (You should maintain double-spacing throughout your essay.)
In his poem "My Papa's Waltz," Theodore Roethke explores his childhood with his father:
The whiskey on your breath
Could make a small boy dizzy;
But I hung on like death:
Such waltzing was not easy.
We Romped until the pans
Slid from the kitchen shelf;
My mother's countenance
Could not unfrown itself. (qtd. in Shrodes, Finestone, Shugrue 202)
In “Revelation,” Robert Frost illustrates the way in which we see the world:
We make ourselves a place apart
Behind light words that tease and flout,
But oh, the agitated hear
Till someone really find us out. (lines 1-4)