Answers for "adding css to <a> tag"

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

inline style, straight into the HTML tags using style attribute

<p style="color: red">text</p>
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language