Hallo,
ich habe in meiner CSS datei einen Tag namens inlink und das sieht dan so aus:
inlink:after
{
width: 10px;
height: 10px;
background-image: url(../../images/a_link.gif);
background-repeat: no-repeat;
background-position: left;
content: "__";
color: #FFFFFF;
}
Nun habe ich im Code sowas:
... id="h2">Counter</span> <a href="ll">Hallo</a><inlink></inlink> LOL</div>
Aber W3C sagt mir:
Below are the results of checking this document for XML well-formedness and validity.
1. Error Line 45 column 64: element "inlink" undefined.
... id="h2">Counter</span> <a href="ll">Hallo</a><inlink></inlink> LOL</div>
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
Wie definiere ich den einen Tag im Code?
Mfg. BNS