create a separate html script and css files code example Example: external style sheet <link rel="stylesheet" type="text/css" href="mystyle.css">