ALIAS tag?

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:

<html><head>
<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; }
        ...
</style>

<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
lang="es">Juan</span>?</Pedro>

...
</body>
</html>


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,
David@

--
<sig><who>David Su&aacute;rez de Lis
<url>mailto:akira@fantasia.usc.es
<where>University of Santiago de Compostela, SPAIN, EU
</sig>

Received on Friday, 24 April 1998 05:36:43 UTC