Color and Background Color in CSS

Full Stack Web Development Courses with Real-time projects Start Now!!

Program 1

<html><head><title>Demo Color</title></head>
<body style="background-color: burlywood">
<p style="font-size: 40; background-color:blueviolet">CSS Defination</p>
<p style="color:#F7720A ; font-size: 20;">  CSS stands for cascading style sheets and use to make Html Page stylish.
Design User friendly web application . i.e. Responsive web application
 To design website more animated ,Write ones use anywhere 
</p>

 <p style="color: blue;font-size: 20;">Inline CSS: Defined with the HTML tag using style attribute
Internal CSS: 
<span style="color:#46240A">
    Defined in the head section using style tag
 </span>   
External CSS:External Style Sheets can save a lot of work ,External Style Sheets are stored in CSS files
</p>
</body>
</html>

 

Did you like our efforts? If Yes, please give DataFlair 5 Stars on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *