Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Custom elements in XHTML

From: Johannes Koch <koch@w3development.de>
Date: Fri, 11 Jul 2003 12:24:46 +0200
Message-ID: <3F0E906E.4020808@w3development.de>
To: Barry Broom <bpbrooe@barrybroom.co.uk>
CC: www-html@w3.org

Barry Broom wrote:
> I've been searching the internet for days now and can't find a single
> answer to my question.
>  
> When using XHTML and CSS, I find myself creating a lot of classes in DIV
> and SPAN elements, such as;
> <span class="xhtmlCode">.</span>
>  
> Now with XHTML being _extensible_ I would have thought I could make my
> own element such as;
> <xhtmlcode>.</xhtmlcode>
>  
> Then style it with CSS. This would be much easier to read, but in my
> research, it doesn't seem possible.

You can compose an XHTML family document type including your custom 
elements using XHTML modularization 
<http://www.w3.org/TR/xhtml-modularization >. E.g. have a look at 
<http://www.w3.org/TR/xhtml-modularization/dtd_developing.html#s_developingdtds >
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Friday, 11 July 2003 06:23:12 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.