Answers for "linking to css in html"

122

how to link css to html

<link rel="stylesheet" href="styles.css">
Posted by: Guest on November-28-2019
8

adding css to html

<head>
  <!-- Linking external Css document -->
  <link rel="stylesheet" href="styles.css">
  
  <!-- Writing Css inside HTML element -->
  <style>
    ...
  </style>
</head>
Posted by: Guest on October-29-2020
2

how do i link my css to my html

<link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen"/>
Posted by: Guest on February-09-2020
2

how to add css to html

<link rel="stylesheet" href="hi.css">
Posted by: Guest on July-01-2020

Browse Popular Code Answers by Language