Answers for "internal css"

CSS
13

external css

<html>
  <head>
    <link rel="stylesheet" type="text/css" href="mystyle.css"></link>
  </head>

  <body>
Posted by: Guest on January-06-2020
9

how to link your css file to html

<head>
	<link rel='stylesheet' href='style.css'>
</head>
Posted by: Guest on June-18-2020
1

internal css

<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}
</style>
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>
Posted by: Guest on June-21-2020
1

What is the "style", when creating an internal CSS?

It's a tag
Posted by: Guest on September-22-2021

Browse Popular Code Answers by Language