Important Notice:

Course Content
Float Property
0/1
Z-Index
0/1
CSS object-fit Property
0/1
CSS Visibility Property
0/1
CSS (Chapter 4) M2-R5.1
About Lesson
Style Element:-

      Style Element को HTML Document के Head Section में Define किया जाता है। और वहीं किसी Specific Element के लिए Style Rule Define किये जाते है।

<html>
<head>
<title>Internal Style Demo</title>
<style>
body{
background-color:red;
}
</style>
</head>
<body>
<p>This is internal style sheet</p>
</body>
</html>

 

 

Style Element:-

      Style element is defined in the head section of the HTML document. And there style rules are defined for a specific element.

<html>
<head>
<title>Internal Style Demo</title>
<style>
body{
background-color:red;
}
</style>
</head>
<body>
<p>This is internal style sheet</p>
</body>
</html>

 

error: Content is protected !!