September 28, 2015

Applying an internal Stye Sheet in HTML document

An internal style sheet can be created by inserting the style rule sets between <style> and </style>  tags in the head section of the HTML document. So, lets look at how you can insert a style sheet in a document without having to put the style sheet in a separate css file.

Here is an example of how you would include the style sheet in your HTML document.

  body {
  font-family:Arial, verdana, sans-serif; 
  h1 { 
  p {

  <h1>Internal CSS</h1> 
  <p>I am a Paragraph</p> 


No comments :

Post a Comment