Answers for "how to give internal css in html"

CSS
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

Code answers related to "how to give internal css in html"

Browse Popular Code Answers by Language