Udjuni.com

udjuni.com search:




Benefits of using CSS


We noted in another posting Introduction to CSS, CSS has become very popular as a way of separating structural from presentation elements of a web page. In this case a single rule can be applied on multiple elements in multiple HTML pages by using a single cascading style sheet document.

Below are just a few of the advantages of using CSS over traditional HTML tags and attributes:

  • More flexibility than html - Allowing the developer to create more rules in a single document that can affect multiple pages
  • Better practicality and loading speed - Allows for smaller file sizes and subsequently faster downloads
  • More powerful than HTML - you can control part of the page such as changing the appearance of a cursor.
  • ore compatibility with other scripting language - CSS is compatible with both HTML and XML, if XML ends up replacing HTML CSS will still work.
  • Allows the developer to override general style presentation


  • creating an internal CSS code



    internal CSS code goes into the header section of your HTML code. You have to include a piece of code that tells the browser where the CSS code start and end. For example:


    <html>
    <head>
    <style type="text/css">
    h1,h2 {
    color: blue;
    text-family: "Arial";

    }
    b {
    color: green;
    text-size: 12px;

    }
    </style >
    </head>
    <body>

    <h2> This is text heading 2 </h2>
    </body>
    </html >


RELATED ARTICLES:


Database Design
After gathering and analyzing your requirements, and depending on whether or not your application needs a database to store information; database design is the next big thing. This comes even before you start coding the application program. The reason for this is that, the application program

The balance sheet
In business, money is never created. It is either earned or spent; and as such every penny should be accounted for. The basic law of accounting states that value to the owners include, what the business have less what the business owe to others people, vendors and/or banks. In account

The benefits of trading FOREX
There are many reasons for trading currencies, some of which are economical and others personal. It is almost impossible to cover all reasons and benefits, but we will discuss the most common reasons for trading FOREX. The market is big enough that no one can corner or c

Did not find it? Try udjuni.com search:







© 2009 UdjunI LLC. All rights reserved | Privacy policy | Tutorial Index | RSS Feed