Skip to main content

Working with Cascading Style Sheets (CSS) writing Styles to html document

First we have to create a html document. and write the html elements and add contents. Then Create the Cascading Style Sheets and write the style rules to the html document.

The following example will help to know how to create html with css.

<html>
<head>
<title>Fresherstarget or your title</title>
<style>
  p
  {
  color: red;
  }
</style>
</head>
<body>
<p>The Sample Document for check color</p>
</body>
</html>

The above example is very very basic and you can start with this.

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.

Cascading Style Sheets (CSS) Introduction

Cascading Style Sheets is the W3C web standards for defining the presentation of the documents written s in HTML. Presentations refers to the way the document is displayed to the user whether on a computer, a mobile display, printed on paper. CSS is a separate language with its separate own syntax. The Uses of CSS Language 1) layout controls:  You can control the html layouts using CSS. That means width of the page and height of the page etc,. 2) Less work: You can change the display or appearance of an entire page or site by editing one style sheet or more. 3) Accessible sites: When all display are handled by CSS, you can markup content, making it accessible for nonvisual or mobile display. 4) browser support: Current Browser can supports CSS 2 and many parts of CSS 3.