create external css file html code example Example: add css to an html file <link rel=“stylesheet” type=“text/css” href=“style.css” />