css in html file head code example Example: add stylesheet html <link rel="stylesheet" type="text/css" href="style.css">