<style type="css">

p.jin
{
text-align:center;
font:georgia;
font-size:20px;
color:blue;
}
</style>
<html>
<p class="jin">Summer Special</p>
</html>Quoted Text Here

Don't put it outside of the HTML tag

It should be like this:

<html>
    <head>
        <!-- The STYLE tag should be put
                either inside the HEAD tag or the BODY tag.
                There's where the Browser's HTML parser expects it
                to be.
                -->
        <style type="css">
            p.jin {
                text-align:center;
                font:georgia;
                font-size:20px;
                color:blue;
            }
        </style>
    </head>
    <body>
        <p class="jin">Summer Special</p>
    </body>
</html>

oh,, i got it. thanks mate! :)

Anytime :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.