See the Referencing guide.
A full explanation of the legal position on copyright as it relates to education can be found at: www.copyrightuser.org/understand/exceptions/education
The key points to note are:
There is an exception for students and teachers to copyright law meaning that it is OK to use copyrighted material in an educational setting, as long as it is necessary to illustrate a point about the subject being taught.
This is dependent on the following conditions, which I quote from the website mentioned above:
1) The purpose of the use is non-commercial
2) Where practical, there should be sufficient acknowledgement of authorship of the work
3) The use of the material is fair (see copyright user for more information on this)
It is important to stress that this applies only within the context of education. For example, if you publish copyright material on the open web you can still be in breach of copyright, even if this is part of a course of instruction.
A full explanation of the legal position on copyright as it relates to Quotation, Criticism & Review can be found at: https://www.copyrightuser.org/understand/exceptions/quotation
In addition to the educational exception, there is also an exception for the use of copyrighted material if it is for quotation, criticism or review. This is dependent on the following conditions, which I quote from the website mentioned above:
1) The purpose is really for quotation, criticism or review
2) The material used is available to the public
3) The use of the material is fair (see link above for explanation)
4) Where practical, the use is accompanied by a sufficient acknowledgement
There is an additional requirement relating to quotation, namely that:
5) Your use of the quotation must extend no further than is required to achieve your purpose
CC Search is a tool that allows openly licensed and public domain works to be discovered and used by everyone. Creative Commons, the nonprofit behind CC Search, is the maker of the CC licenses, used over 1.4 billion times to help creators share knowledge and creativity online. Creative Commons licenses give everyone from individual creators to large institutions a standardized way to grant the public permission to use their creative work under copyright law. From the reuser’s perspective, the presence of a Creative Commons license on a copyrighted work answers the question, “What can I do with this work?”