ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing

ExpertRating Home
ExpertRating Benefits
Recommend ExpertRating
Suggest More Tests
Privacy Policy
FAQ
Login
 
XHTML Tutorial - Index
XHTML Tutorial - Introduction to XHTML
XHTML Tutorial - Formatting
XHTML Tutorial - Links
XHTML Tutorial - Images
XHTML Tutorial - Forms
XHTML Tutorial - Tables
XHTML Tutorial - Frames
XHTML Tutorial - Style Sheets
XHTML Tutorial - Advanced Tags
     

 
Online Personal Trainer Certification
Personal Trainer Certification (Spanish)
Six Sigma Certification
Find a Personal Trainer
Project Management Certification
Six Sigma Certification
Six Sigma Black Belt Certification
Master Black Belt Certification
Six Sigma Green Belt Certification
Life Coach Certification
Lean Management Certification
Lean Six Sigma Certification
First Aid Certification
CPR Certification
Yoga Certification
Aerobics Certification
Pilates Certification
Business Analyst Certification
SEO Certification
Online Business Writing Course & Certification
Makeup Artist Certification
Baby Sitting Course & Certification
Time Management Certification
Health Club Management Certification
Medical Coding Certification
Medical Billing Certification
Business Analysis Course
Master Trainer Certification
Total Quality Management Certification
Kaizen Certification
Creative Writing Certification
Event Management Certification
Test Search by Job Title
Administrative Assistant Certification
Virtual Assistant Certification
  All Online Courses
   

   
   
   
   
   
   

   
  Home > Courses, Tutorials & eBooks > XHTML Tutorial > Style Sheets
 
Previous  Next

XHTML Tutorial - Style Sheets

   
                                                                             Page 4 of 5
 

Noscript Tag

The noscript tag is used to display some alternate content if the script is not executed by the browser. This tag is used for the browsers which do not support scripting. The <noscript> tag of XHTML is exactly same as the <noscript> tag of HTML.

Example

<script type=”javascript”>

document.write(“How are you?”)

</script>

<noscript> Your browser does not support scripting. </noscript>

 

The following example illustrates a web page using Style Sheets

Style Sheet

body {

font-family: Arial, helvetica, sans-serif;

Color: blue;

background :url(myimage.jpg);

}

 

P {

font-family: arial, Helvetica, sans-serif

}

 

table{

color:#660000;

border:5px none #FFCC99;

width:250px;

background-color: #FFFFCC;

}

 

td, th {

font-family: Arial, Helvetica, sans-serif;

font-size:20px;

border: solid red;

line-height: 2em;

}

 

H1,H2,H3,H4

{ color: #669999;

font-weight: bold;

}

 

A: active {

Color: #ff0000;

}

 

A: visited {

Color: #999999;

}

 

UL, OL {

font-family: arial, helvetica, sans-serif;

}

 

HTML File

<html>

<head>

<title> My bag of jokes </title>

<LINK REL="stylesheet" HREF="stsheet.css" TYPE="text/css">

</head>

<body>

 

<h2> Hello,this is My Jokes website.</h2>

<h3>Table of jokes</h3>

 

<table>

 

<tr><th colspan=2> Jokes </th> </tr>

<tr><td> Serial no.</td><td>Joke Type</td></tr>

<tr><td>1.</td> <td> Classic Jokes </td></tr>

<tr><td>2.</td> <td> Tennis Jokes </td></tr>

 

</table>

 

<h4>List of jokes</h4>

 

<ul>

<li>Classic jokes </li>

<li>Math jokes </li>

</ul>

 

<b>Let's read a joke</b>

 

<p> During their silver anniversary, a wife reminded her husband, “Do you

remember that when you proposed to me, I was so overwhelmed that I didn't

talk for an hour?"<br/> The hubby replied, "Yes, honey, that was the

happiest hour of my life."</p>

 

<a href="frames.html" target="_blank">Frames Website</a>

</body>

</html>

 

       

 

 
     
Home  |  About Us  |  Privacy Policy  |  Site Map  |  FAQs  |  Contact Us
 
© ExpertRating 2015. All Rights Reserved.