RE: Creating web pages with lyrics and chords

Miguel Frasson wrote:
> Hi.
> 
> I like to cheate webpages with lyrics with guitar chords so that the
> chords will be displayed abopve the respective place, like in
> 
> Bla <some-code>A</some-code>bla <some-code>E</some-code>bla bla
> 
> results
> 
>     A   E
> Bla bla bla bla
> 
> Is this possible with html?  If not, how is it possible?
> 
> Thanks
> 
> Miguel

Miguel,

Not sure if this is 100% "correct", as I suspect it is a "bending" of
the spec, but have you considered Ruby? http://www.w3.org/TR/ruby/

Caveats - at this time it seems that only IE actually supports this (go
figure) - neither Firefox nor Opera seem to at this time. (Screen
Readers such as HPR and JAWS [the 2 I tested] read aloud like Firefox
and Opera display - linearly)  It also requires a "liberal" definition
of "Annotated" text. (Purists - the lyrics are annotated with the
corresponding chords).

Try this code in IE and see:

<p>     
<ruby>

  <rbc>
    <rb>Bla bla </rb>
  </rbc>
  <rtc>
    <rp>(</rp><rt>A</rt><rp>)</rp>
  </rtc>

  <rbc>
    <rb>bla</rb>
  </rbc>
  <rtc>
    <rp>(</rp><rt>E</rt><rp>)</rp>
  </rtc> 

  bla <!-- no annotation here -->

</ruby>
</p>

HTH

JF
--
John Foliot  foliot@wats.ca
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca   
Phone: 1-613-482-7053 

Received on Wednesday, 10 August 2005 15:23:25 UTC