W3C home > Mailing lists > Public > www-html@w3.org > April 1998

ALIAS tag?

From: David Suarez de Lis <akira@fantasia.usc.es>
Date: Fri, 24 Apr 1998 13:38:13 +0200 (CEST)
To: W3C HTML Mailing List <www-html@w3.org>
Message-ID: <Pine.LNX.3.96.980424132708.1737B-100000@fantasia.usc.es>
Hi all,

I have been thinking that many of the new tags we could add to the HTML4
DTD can be managed by using class and/or rel attributes which most tags
now support.

I think it would be nice an ALIAS tag which would allow us to simplify
writing and which UA's would expand on the fly when display the documents.

One of its many implementations could be

<alias name="Juan" content="div class='juan'">

The use on the document would be:

<title>Theater play...</title>
<alias name="Juan" content="div class='Juan'" lang="es">
<alias name="Pedro" content="div class='Pedro'" lang="es">

<style type="text/css">
        body { background: white; }
	Juan { font-style: italic; color: green; }
        Pedro { font-style: normal; color: blue; }

<body lang="en">

<h1>Act 1</h1>

<Juan>Hey, <span lang="es">Pedro</span>, how you doing?</Juan>

<Pedro>Doing fine, thanks. What about you, <span


Obviously all </Alias-name> would be equivalent to </div>

This method could provide powerful structural markup to HTML documents
without the need of modifying the DTD, also allowing full use of Style
Sheets instead of hardwired style markup. 

Well, just my thoughts,

<sig><who>David Su&aacute;rez de Lis
<where>University of Santiago de Compostela, SPAIN, EU
Received on Friday, 24 April 1998 05:36:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:47 UTC