How and example of citation to be done in literature

In literature, citations are typically done in two major formats: in-text citations and a bibliography or works cited page. Here's an example of how a citation can be done using the Modern Language Association (MLA) style:

In-text citation:
One author:
"The greatest glory in living lies not in never falling, but in rising every time we fall" (Mandela 75).

Multiple authors:
"The heart has its reasons, of which reason knows nothing" (Pascal et al. 32).

Bibliography or Works Cited entry:
Book:
Mandela, Nelson. Long Walk to Freedom. Little, Brown & Co., 1994.

Journal article:
Pascal, Blaise, et al. "Pensees." Philosophical Review, vol. 37, no. 2, 1955, pp. 27-42.

Website:
Smith, John. "The Impact of Technology on Society." The Guardian, 12 Jan. 2019, www.theguardian.com/impact-technology-society.

Note: The exact format may vary depending on the citation style guide (e.g., APA, Chicago, etc.) and the source type (book, journal article, website, etc.). It's important to consult the relevant style guide or ask your instructor for specific requirements.