This is a great question. Quoting poetry is slightly different than quoting prose. What you need to do is to keep two basic points in mind. First, with poetry, you want to remember to give line numbers instead of page numbers. Second, you want to keep line breaks in tact. If you keep these basics points in mind, you will be fine. Also keep in mind that if the quote is more than four lines long, then you will need to use block quoting, which is also true for prose. This means that you will indent ten spaces.
Here are two examples:
"Arms and the man I sing, who first from the coasts of/Troy, exiled by fate, came to Italy and Lavine shores;" (Aenied 1.1-2)
Arms and the man I sing, who first from the coasts of
Troy, exiled by fate, came to Italy and Lavine shores; much buffeted on sea and land by violence from above, through
cruel Juno’s unforgiving wrath, and much enduring in war
also, till he should build a city and bring his gods to Latium. (Aenied 1.1-5)
Bear in mind that you will need to indent ten spaces with the second, and you do not need quotation marks.