Showing posts with label internal css. Show all posts
Showing posts with label internal css. Show all posts

Saturday, February 3, 2024

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






READ MORE :-

css introduction

html bdi tag

html Article tag

html address tag

html input type

html Anchor tag

html login form

customer form

responsive image

css Border property