Add code with MIT License to my website
<p>If I get HTML code with a MIT License, then I edit the code (for example I change the input box placeholder or something like that), how to put the code in my website legally?</p>

<p>This has already been answered <a href="https://softwareengineering.stackexchange.com/questions/218331/what-are-the-requirements-for-attribution-in-the-mit-license">here</a>. So i'll just quote what was said.</p>

<blockquote>
  <p>The fourth paragraph says that the copyright notice in the second
  paragraph must be reproduced. Users of the licence substitute the
  [fullname] with their actual name. That is what constitutes "proper
  attribution" in the mind of the MIT: every user of the software can
  find out who wrote it if they want to.</p>
</blockquote>

<p>Put the code in your website any way you want, just put a comment at the start of the code which includes the license.</p>

licensing open-source-software