Format the DOI and URLs as hyperlinks - beginning with http:// or https://.
It is acceptable to use either the default settings for hyperlinks. Usually blue font, underlined.
If a journal does not have a DOI, do not include any DOI or URL in the reference. There is no longer the requirement to include the URL of the journal's homepage.