Ad

inline css in html


        

   Inline css

1]  inline css use of applying CSS styling directly with HTML.

2]  inline css using html  element using " style "attribute 

3]  inline css used apply unique to a single html element.

4] inline css define individual element.


Inline CSS

Example :-

<!DOCTYPE html>
<html>
<head>
    <style>
       
    </style>
    <title>internal css</title>
</head>
<body>
    <h1 style="color:rgb(255, 0, 51);
         font-size:50px;
         text-align :center; ">
          HTML</h1>
    <p style="font-size:40px;">
        Hypertext text markup language </p>

    <h1 style="color:aquamarine;
       font-size:50px;
       text-align:center;">
       CSS</h1>

    <P style="font-size :40px;">Cascading style sheet </P>
   
    <a href="#" >webdesigningtheory.blogspot.com</a>
   
</body>
</html>

Inline CSS

Output:-

inline css program output










Related Post :-

css text decoration

php for loop

javascript form validation

No comments

Powered by Blogger.