Browsers
Gecko   Mozilla
        Firefox
        Netscape
        Camino (OS X)
        K-Meleon (Win32)
        Galeon
KHTML   Konqueror (Unixes)
        Safari (Apple)
        OmiWeb (Apple)
Opera   Opera
IE      MS Internet Explorer
        (Other niche browsers)
-       Lynx
-       Amaya
Media
<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/css" href="verysimple.css" title="simple"?>
<?xml-stylesheet type="text/css" href="ghastly.css" title="ghastly"?>
<?xml-stylesheet type="text/css" href="nicer.css" title="nicer"?>
<note>
  <title>Some Web Technologies</title>
  <intro>In the old days, designers used HTML tables
  and transparent GIFs to lay out webpages.</intro>
  <text>Today we use style sheets to separate the content
  from the presentation.  Style sheets go way, way,
  beyond what could be done with tables, font elements
  and spacers.  Designers now have complete control
  over layout down to the pixel level.</text>
  <text>Of course, liquid layouts are usually best, but
  that is a topic that will be addressed later.</text>
  <technologies>
    <tech><name>XML</name><year>1998</year></tech>
    <tech><name>XHTML</name><year>1999</year></tech>
    <tech><name>CSS</name><year>1996</year></tech>
    <tech><name>XSLT</name><year>1999</year></tech>
  </technologies>
  <author>Ray Toal</author>
</note>
| Selector | Matches | 
|---|---|
| * | Any element | 
| e | Any e element | 
| e1 e2 | Any e2 that is a descendant of an e1 | 
| e1 > e2 | Any e2 that is a child of an e1 | 
| e:first-child | Any e that is the first child of its parent | 
| e1 + e2 | Any e2 immediately preceded by a (sibling) e1 | 
| e#i | The e with id i | 
| e[a] | Any e that has an attribute a | 
| e[a="v"] | Any e with an attribute a with value v | 
| e[a~="v"] | Any e with an attribute a that is a space-separated list of values, one of which is v | 
| e[a|="v"] | Any e with an attribute a that is a hyphen-separated list of values, one of which is v | 
| e.c | Same as e[class~="c"] (HTML only) | 
| e:active e:hover e:focus | e during the action | 
| e:link | e if e is the source of a non-visited hyperlink | 
| e:visited | e if e is the source of a visited hyperlink | 
| e:lang(c) | e if the document has associated language c with e | 
    font
    font-{family,size,weight,style,variant}
    line-height
    letter-spacing
    word-spacing
    text-align
    text-decoration
    text-indent
    text-transform
    vertical-align
    white-space
    color
    background
    background-{color,image,repeat,position,attachment}
    padding
    padding-{top,right,bottom,left}
    border
    border-{top,right,bottom,left}
    border-style, border-top-style, border-right-style, border-bottom-style, border-left-style
    border-color, border-top-color, border-right-color, border-bottom-color, border-left-color
    border-width, border-top-width, border-right-width, border-bottom-width, border-left-width
    outline
    outline-{style,color,width}
    margin
    margin-{top,right,bottom,left}
    width
    height
    min-width
    max-width
    min-height
    max-height
    position
    top
    right
    bottom
    left
    clip
    overflow
    z-index
    float
    clear
    display
    visibility
    list-style
    list-style-{type,image,position}
    table-layout
    border-collapse
    border-spacing
    empty-cells
    caption-side
    content
    counter-increment
    counter-reset
    quotes
    page-break-before
    page-break-after
    page-break-inside
    orphans
    widows
    cursor
    direction
    unicode-bidi
<h3 id="header">Hello, World</h3>In CSS (note the box-model hack to support IE5)
#header {
  padding: 25px 0 0 0;
  overflow: hidden;
  background-image: url(helloworld.gif);
  background-repeat: no-repeat;
  height: 0px !important;
  height /**/:25px;
}
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="people.xsl"?>
<people>
  <person id="123">
    <first>Masha</first><last>Yuen</last>
  </person>
  <person id="44">
    <first>Armen</first><last>Gomez</last>
  </person>
</people>
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <html>
      <head>
        <title>Some folks</title>
      </head>
      <body>
        <xsl:apply-templates/>
        <hr />
      </body>
    </html>
  </xsl:template>
  <xsl:template match="person">
    <p>
      <xsl:value-of select="last"/>,
      <xsl:value-of select="first"/>
      <span style="color:red">[<xsl:value-of select="@id"/>]</span>
    </p>
  </xsl:template>
</xsl:stylesheet>