(I had this in comments but I decided to move it to answer form.)
All of the info and examples in this answer are taken directly from this link
If you are citing a whole website (the whole website means not a specific page, but the general information on a website), your citation should look like this:
MLA whole website citation
Format: Website Name, Day Month Year, URL.
Works Cited entry: Scribbr. www.scribbr.com. Accessed 11 July 2019.
In-text citation: (Scribbr)
If you are citing an online blog, newspaper, or magazine, use this format: (note, academic articles should have a different form of citation.)
MLA online article citation
Format: Author last name, First name. “Title of Article.” Website Name, Day Month Year, URL.
Works Cited entry: Smith, Helena. “The Women Who Brought Down Greece’s Golden Dawn.” The Guardian, 22 Oct. 2020, www.theguardian.com/world/2020/oct/22/the-women-who-brought-down-greeces-golden-dawn.
In-text citation: (Smith)
MLA website citation with no author
Format: “Title of Article.” Website Name, Day Month Year, URL.
Works Cited entry: “US Election 2020: A Guide to the Final Presidential Debate.” BBC News, 21 Oct. 2020, www.bbc.com/news/election-us-2020-54620868.
In-text citation: (“US Election 2020”)
MLA website citation with no author or date
Format: “Title of Article.” Website Name, URL. Accessed Day Month Year.
Works Cited entry: “Citing Sources and Referencing.” Scribbr, www.scribbr.com/category/citing-sources. Accessed 16 July 2019.
In-text citation: (“Citing Sources”)
(Note: the following information has been taken from this website)
Citing an online journal article
When citing an online journal article, first look for a DOI, as this is more stable and less likely to change than a URL.
Ahmed, Sara. “A Phenomenology of Whiteness.” Feminist Theory, vol. 8, no. 2, Aug. 2007, pp. 149-168. doi:10.1177/1464700107078139.
Articles with multiple authors
In MLA style, up to two authors are included in citations. List them in the order they appear in the source, separated by commas, and don’t invert the second author’s name.
MLA journal citation: 2 authors
Works Cited: Eve, Martin Paul, and Joe Street. “The Silicon Valley Novel.” Literature & History, vol. 27, no. 1, May 2018, pp. 81-97, doi:10.1177/0306197318755680.
In-text citation: (Eve and Street 84)
For more information, check out this article and this article.