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

Sunday, February 4, 2024

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










READ MORE 

internal css

html bdo tag

html audio tag

html color tag

html form input type

html insert background image

login form

css table property

html frame tag