As a general rule, when citing online resources, give the traditional citation for the type of secondary sources it is - whether it is an article, a government document, etc. - followed by a comma, and then "online:", and give the name of the website, and the URL. The URL should not be underlined, but it should be enclosed with "<" and ">".
To prevent link rot, provide an archived URL in addition to the original URL. The Perma system is strongly recommended. The archived URL should be placed beside the original URL, in square brackets.
Polly Donda-Kaplan & Natasha Bakht, The Application of Religious Law in Family Law Arbitration Across Canada (April 2006), online: Women's Legal Education and Action Fund <http://www.leaf.ca/wp-content/uploads/2016/03/2006-04-Submission-The-Application-Of-Religious-Law-In-Family-Law-Arbitration-Across-Canada.pdf> [https://perma.cc/S4JV-4PHH].
There are some variations to this rule depending on the type of material being cited. Consult section 6.19 of the McGill Guide for more details.
If you retrieved an article or e-book from a database such as Lexis Advance Quicklaw or WestlawNext Canada, you can indicate this by adding the name of the database in parentheses after the traditional citation.
Paul D Paton, "Accountants, Privilege, and the Problem of Working Papers" (2005) 28 Dal LJ 353 (QL).