03-CSS Internal

0
267

This tutorial is all about 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 .

 

 

Readers might read also:

 

 

 

Facebook Comments
(Visited 20 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here