0 votes
in CSS by
What is the use of internal style sheets?

1 Answer

0 votes
by

This internal style sheet is used in HTML content uniquely. We have to keep it within the HTML file head section.

Example of internal style sheet:

<!DOCTYPE html>
<html>
  <head>
    <title>Internal CSS</title>
    <style>
      .main {
        text-align:center;
     }
     .GFG {
 	 color:#009900;
	 font-size:30px;
	 font-weight:bold;
     }
     .madanswer {
	font-style:bold;
	font-size:10px;
     }
    </style>
   </head>
   <body>
     <div class="main">
       <div class="MDM">Madanswer</div>
	
       <div class="madanswer">
	 IT Questions Portal.
       </div>
     </div>
   </body>
</html>
...