link stylesheet to html element code example Example: link style css to html <link rel="stylesheet" type="text/css"href="style.css">