Cascading Style Sheets (CSS)
|
Cascading Style Sheet: events4.css
|
events { display: block }
play { display: block }
title { display: block; font-size: x-large; font-weight: bold }
author { display: block; font-size: medium }
First_Name { display: inline; color: blue }
Last_Name { display: inline; color: red }
|
|
Referencing A CSS From An XML File: events4.xml
|
<?xml version='1.0'?>
<?xml-stylesheet type="text/css" href="events4.css"?>
<events>
<play Ptype = "drama">
<title>Three Sisters </title>
<author>
<First_Name>Anton</First_Name>
<Last_Name>Chekhov</Last_Name>
</author>
</play>
<play Ptype = "comedy">
<title>As You Like It</title>
<author>
<First_Name>William</First_Name>
<Last_Name>Shakespeare</Last_Name>
</author>
</play>
</events>
|
|
How It Appears In An XML-Capable Browser (MS IE5)
|
|
Files
|
|
 |
|
 |