Introduction to internal css


 

  Internal CSS 

1] Internal css used to add a unique style for single document.

2]  Internal  css is defined in <head> section.

3]  Internal   css of the html page inside <style> tag.

4]  Internal css is embedded <style> tag inside the head section of the HTML file.


 Internal CSS 

Example :-

<!DOCTYPE html>
<html>
<head>
<title>internal css</title>
    <style>
        h1 {
            background-color: orange;
                color : #ffffff;
        }
        p {
            color:rgb(244, 4, 84);

        }
    </style>
 </head>
<body>
    <h1> HTML</h1>
    <p>Hypertext text markup language </p>
    <h1>CSS</h1>
    <P>Cascading style sheet </P>
    <a href="#" >webdesigningtheory</a>
   
</body>
</html>

ஃ Internal CSS 

Output :-

internal css program output






Related Post :- 


how to insert image in html

bdo tag in html

css class selector

Comments

Popular posts from this blog

HTML Tag

HTML Input Type Submit Syntax and Example

CSS Text Color Explained with Syntax and HTML Examples