Skip to main content

Cascading Style Sheet (CSS) Syntax and style elements

For the begining, we will simply add the small style sheet. Type the following rules into the document.

Syntax for CSS:

<style type="text/css">
h1 {
 // Give style rules
}
p {
 // Give Style rules
}
</style>

Here we are adding syntax to head tag in html page.

<head>
<title>Fresherstarget</title>
<style>
/* Give style rules here */
</style>
</head>

The Above Css Syntax will help you to begin your CSS work. First you should know the basic things about the Cascading Style Sheet (CSS), step by step learning is more important. Then only you will become a perfect Designer. For Information Please refer this website or Internet.

Thanks

Popular posts from this blog

List of software companies in Chennai

List of software companies in Chennai India's Information technology is an industry consisting of IT services and business process outsourcing(BPO). In india information technology is playing an important role, IT sector in India is generating more than 3 million employment. IT & ITeS industry in India has grown enormously. Indian Information Technology has made a mark in the world. Many MNC's are started branches in Indian cities like Bangalore, Chennai, Delhi etc,. The below table shows you list of software companies in Chennai. 4i Apps Solutions Pvt Ltd http://www.4iapps.com Abra Technologies http://www.abratechnologies.com Accel Frontline Ltd http://www.accelfrontline.in Adrenalin eSystems Ltd http://www.myadrenalin.com Akmin Technologies Pvt Ltd http://www.akmin.com American Megatrends India Pvt Ltd http://www.amiindia.co.in Anantara Solutions Pvt Ltd http://www.anantsol.com Arrowpoint Technologies Pvt Ltd http://www.arrowpointtechn...

How to use HTML textbox, buttons, checkbox and radio buttons ?

HTML is easy to learn here we are going to create textbox, buttons, checkbox and radio buttons for beginers. In Freshers Blog we gave many example for html programs. Generally textbox, buttons, checkboxs and radio buttons these components will help you to create interactive registration form. Example for textboxs, checkboxs bellow, <html>   <head>     <title>Welcome to Fresher Blog</title>     </head>   <body>     <input type="text" name="text1" ></input>     <input type="checkbox" name="checkbox1">Checkbox 1</input>     <input type="radio" value="Radio">Radio 1</input>     <input type="submit" value="Freshersblog"></input>   </body> </html> The above example beginners can learn html more quickly and easily. Thanks.

How to use HTML Division 'div' tags in html pages

HTML Division (div) tags are widely used general tag for dividing and setting blocks with the help of css coding. Div based html codings are the effective way to design web pages. Compared with table tag div tag takes less memory. The HTML syntax for Div tags, <div>Freshersblog</div> The HTML example for Div tags, <html>   <head>     <title>Welcome to Freshersblog</title>     </head>   <body>     <div>       Welcome to Freshersblog     </div>   </body> </html> CSS Styles are more and more important for div tag, without styles we cant do good with div tag. The above example easy to learn div tag. Thanks.