Internal Styling (Internal CSS) Explain
Internal styling is used to define a style for one HTML page.
Internal styling is defined in the <head> section of an HTML page, within a<style> element.
Html Code:
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: lightgrey;}
h1 {color: blue;}
p {color: green;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Post a Comment