Is it possible to create custiom tags in (X)HTML (5)?

Lukan

New Member
I want to write an (X)HTML document that contains a text in a blackletter font. In German, it's convention to typeset foreign words in an antiqua font when the document's base font is a blackletter font. Because this is a semantic markup that may appear quite often, I dislike using a \[code\]<span class="fw">\[/code\] or similar.Is it possible to define a new tag \[code\]<fw>\[/code\] (for foreign word) in (X)HTML, so that I can markup by semantics? If yes, is that supported by modern browsers? Is there anything special to take care of when using this with a stylesheet?
 
Back
Top