import css in html w3schools code example Example: html how to import css file <head> <link rel="stylesheet" href="mystyle.css"> </head>