Answers for "css use style"

4

style.css in html

put in the <header> tag:

<link rel="stylesheet" href="style.css">
Posted by: Guest on May-02-2021
-1

css style

p
{

  color: red;

  text-align: center;

}
Posted by: Guest on April-25-2021
0

Use Css to Style

<html>
<head>
<style>
code {
  font-family: 
    Consolas,"courier new";
  color: crimson;
  
    background-color: #f1f1f1;
  padding: 2px;
  font-size: 
    105%;
}
</style>
</head>
<body>

<p>The HTML 
    <code>button</code> tag defines a clickable button.</p>
<p>The CSS 
    <code>background-color</code> property defines the background color of an 
    element.</p>

</body>
</html>
Posted by: Doãn Tú on February-12-2022

Browse Popular Code Answers by Language