html css connect code code example Example: connect html file to css <head> <link rel="stylesheet" href="styles.css"> </head>