PHP tutorials, html tutorial, photoshop tutorial, ajax tutorials,java tutorial, web design tips tutorials, css tutorial, visual basic tutorial, dreamweaver tutorial, php tutorial, html tutorials, c++ tutorial, javascript tutorial, windows tutorials, free flash tutorials, free photoshop source codes, sql tutorial
Web Development Tutorials, Programming Tutorials, PHP Script Index
Home | Forums | Downloads | Books | Submit Content | Links

Programming Articles

  PHP articles
  MySql articles
  Visual Basic.Net articles
  Java articles
  ASP articles
  ASP.Net articles
  Visual Basic articles
  CSS articles

Programming Tutorials

  PHP tutorials
  MySql tutorials
  Visual Basic.Net tutorials
  Java tutorials
  ASP tutorials
  ASP.Net tutorials
  Visual Basic tutorials
  HTML tutorials
  CSS tutorials

Programming Source Codes

  PHP scripts
  Visual Basic.Net scripts
  JavaScript scripts
  ASP scripts
  ASP.Net scripts
  Visual Basic scripts

Our Partners

  Free Resources
  Publisherbank
  Free Link Directory
  PHP Magazine
  Webmaster Passion
  Search Engine Bank
  Free Directory Site
  Free PHP Scripts
  Links Shopping Mart
  Variety Bazar
  Urdu Office Tutorials
  Evernew Scripts
  Evernew Scripts
  Evernew Directory
  Our Achievements
  Web templates
  Buy and Sell Templates
  Text Link Traders
  Directory Metro
  Gifts Choice
  Valentines Ecards
  Template Directory

Internal CSS

Date:2006-03-28

You can use CSS internally with 2 ways

Embedding a Style
Style sheet information can be placed in the HTML file itself. . You define internal styles in the head section by using the <style> tag, like this :

<head>
<style type="text/css">
<!--
font {color: navy}
body {background-image: url("images/bg.gif")}
h1 {color:red}
-->
</style>
</head>

Multiple Style Sheets
You can apply styles for the same selector in differnt stylesheets. For example:

h1
{
color: blue;
text-align: center;
font-size: 14px
}

Inline style
Style can also be specified on a per HTML element basis, Inline styles are not suitable for HTML documents because using inline styles, css code is mixed up with html code. Below is an example of inline style sheet.

<h1 STYLE="font-size:14px">This is inline style sheet.</P>



Desclaimer | Privacy Policy | Submit Content | Links | Link to Us | Sitemap |Contact Us
Copyright Programming Tutorials, Web Development Tutorials, Source codes © All Rights are Reserved.
Powered By Evernew Solutions

Loans - Car Insurance - Loans - Credit Card Consolidation