1

I am making a website for a competition my school is taking part in, however I am not on the team and am not receiving any compensation (save for better references :P). The only condition I have set is that I receive full credit and attributions.

All of my Javascript files have MIT licenses at the top, as they were written as libraries some time ago, and I want to ensure that my conditions are met. I also want to put a license in my HTML and CSS, but I have never seen anyone do that before.

Is there any reason not to put a license in my HTML and CSS files, but to put one in my Javascript? What type of license can I use?

2 Answers 2

2

You can add whatever license you want to your CSS files. Here's an example.

One way to receive credit and attributions is putting "Designed by xxx" in the footer of the site (make sure the team or the school is aware).

-3

No, CSS and HTML files don't really need their own licensing.

Nothing is stopping you from finding something and putting it in there though, anything can be licensed.

3
  • 1
    This answer is incorrect. Commented Oct 2, 2017 at 4:21
  • 2
    That statement is incorrect. Please prove me wrong.
    – insidesin
    Commented Oct 2, 2017 at 4:24
  • 3
    It depends what he wants to achieve with the license. If he wants to stop people using his code without his permission, then he does not need a license to do that, all code is implicitly copyrighted by its author and if no license is given it does not mean people can do what they like with it. On the other hand, if he wants to guarantee it can be used by anyone, then he may want to put a permissive license on it. Commented Oct 2, 2017 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.