Legislation is cited the same way, irrespective of the medium, for example:
If you looked at s3 of the Crimes Act 1958 (Vic) on AustLII or the green Anstat reprint (official version of the act in hard copy format), you would reference it as follows: Crimes Act 1958 (Vic) s3
Never list the reference as Crimes Act (without qualifying it first) because every jurisdiction in Australia has a Crimes Act of some kind.
Differences in Referencing Styles
Australian Guide to Legal Citation
When referencing Commonwealth Legislation using the AGLC3 style, the abbreviation for Commonwealth is CTH, for example:
Crimes Act 1914 (Cth)
NCPS Author Date Referencing Guide - Referencing Legislation
When referencing Commonwealth Legislation using the NCPS Author-date Referencing Style the abbreviation for Commonwealth is Cwlth, for example:
Crimes Act 1914 (Cwlth)
The elements and order of the elements are the similar for both the AGLC3 and the NCPS Author-Date systems (note some differences in the abbreviation used for certain jurisdictions as explained above).