--- In svg-developers@yahoogroups.com, "Darrel Yoon" <[EMAIL PROTECTED]>
wrote:
>
> there is a attribute called "rel" in HTML. usually witten in this 
> way,<a href="......." rel="......."></a> I want to know what is this 
> for and what is alternative attribute for SVG for this "rel". 

The rel attribute is defined on more than one HTML element, you can
see that here <http://www.w3.org/TR/html4/index/attributes.html> where
you find that rel is defined for the a and for the link element.
It specifies forward link types
<http://www.w3.org/TR/html4/struct/links.html#adef-rel> and in my view
doing e.g.
  <link rel="stylesheet" type="text/css" href="style.css">
is one of the most common uses.
The link types the HTML 4 specification defines are here
  <http://www.w3.org/TR/html4/types.html#type-links>
but others can be used too.

As for SVG, it uses attributes defined in the XLink specification for
linking:
  <http://www.w3.org/TR/SVG11/linking.html#xlink-att-mod>
The rel/rev attribute in HTML are as far as I understand currently
similar to the xlink:role and xlink:arcrole attributes.

On the other hand as I said in HTML 
  <link rel="stylesheet">
is one of the most common uses, there SVG as an XML application simply
makes use of a processing instruction in the form
  <?xml-stylesheet type="text/css" href="style.css"?>






-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to