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 Mike Lewis 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
Dec 25, 2004
24
0
0
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