To determine if strip lights meet code will depend on several factors. Typically, these fixtures need to be UL, cULus, or ETL Listed. The NEC (National Electrical Code) offers a specific set of guidelines for light fixtures to ensure their safe operation. It is also a great idea to check with your local municipality as well to see if there are any additional rules or mandates.