Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom global attribute in XHTML document?

Status
Not open for further replies.

papageno

Technical User
Joined
Dec 25, 2004
Messages
24
Location
ES
Hi,

I need a custom attribute to store arbitrary data, for example:

Code:
<div id="page1" myattribute="page">
<h1 id="page1header" myattribute="header">

Is it possible to create a global (like id, lang, etc) attribute, or at least to "import" an attribute from a DTD via xmlns="DTD-URI" ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top