w3schools add css to html code example Example: how to link css to html <link rel="stylesheet" href="styles.css">