How to Write External CSS

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

Program 1

dataflair
{
    color: blue;
    font-size: 25;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
}
    h1
     {
            font-size: 20;
            font-family: Arial, Helvetica, sans-serif;
            color: blueviolet;
     }
    h2
     {
            font-size: 30;
            font-family: 'Times New Roman', Times, serif;
            color:brown
    }

Program 2

<html>
    <head><title>Demo External CSS</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body>
        <center>
           <h2> 
            <p>
            This is a demp class of CSS External 
            and This is a Free Data fliar Course
            <p>
            This is a demp class of CSS External 
            and This is a Free Data fliar Course
            <p>
            This is a demp class of CSS External 
            and This is a Free Data fliar Course
            </h2> 
        </center>
    </body>
</html>

 

Did we exceed your expectations?
If Yes, share your valuable feedback 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 *