ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

03-CSS Internal

Cascading Style Sheets have three types: the internal, external, and inline.

 

Internal CSS, has a  tag <style> inside the <head> tag.

 

 

Example:

<html>
<head>
<style type="text/css">
</style>
</head>
<body>
<p>Page content.</p>
</body>
</html>

 

 

Functional example:

<html>
<head>
<style type=”text/css”>
p {
color: black;
}
body {
background-color: green;
}
</style>
</head>
<body>
<p>black text on a green background..</p>
</body>
</html>

 

Take note:

  • Put your CSS Code inside <style> ..the CSS codes goes here…</style>
  • Format(syntax) of CSS code must be correct .
Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!