Answers for "add style into html"

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
0

html add style

<!-- add this line into the head tag -->
<link rel="stylesheet" type="text/css" href="yourstylesheetname.css">
<!-- remember to change the irl in href -->
Posted by: Guest on May-11-2021
2

how to link an css file to html

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

Browse Popular Code Answers by Language