Is it illegal to use site templates for professional use?

I'm wondering if it's legal or not to basically copy/paste HTML/CSS code being offered as templates (as some sites do) and use that in a professional/production setting? For example, some sites offer "web site building" to clients and whatnot where they get to choose templates from varying... show more I'm wondering if it's legal or not to basically copy/paste HTML/CSS code being offered as templates (as some sites do) and use that in a professional/production setting?

For example, some sites offer "web site building" to clients and whatnot where they get to choose templates from varying layouts. Once selected, they pretty much get to do what they want for that particular template.

Would it then be legal to use that code elsewhere or how does that work?
4 answers 4