MIT License

Ashkar Dev

Hi, This question is about OpenSource License
I am on developing a project and used MIT Licensed codes of others and I collected the Licenses but now I'm not sure which code is with which license and also the code was may be modified

is it ok to add all licenses to a place on a web page? instead of making it comment?
in every page footer, make a link to the page of licenses?
and adding the link to that page at the top of CSS files
so it matches the MIT License condition that says substantial portions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

and I want to create a page with licenses and references to the original code
like this:
this project may include these licenses :    
1) --- with reference
2) --- with reference