![]() | ![]() | ![]() | ![]() | ![]() |
This variable allows you to vary the way you generated HTML based on the value set by the /XSLASH switch.
This is a Standard Definition which always exists (you don't need to #define it). Note that you can create your own variations or completely new ones (see the examples).
The following is one way that this symbol can be used, note that the "HR" macro will generate either "<hr>" or "<hr />".
XHTML code has other requirements but since these are compatable with HTML there is nothing stopping you from doing most of this now.
;--- Define some HTML tags which vary from "HTML" to "XHTML" --- #define HR <hr<?/>> ;--- More complex macro --- #define /P \ ;--- I don't wish to generate TAG unless XHTML --- -\ #if ['<?/>' <> ''] -\ </p> -\ #endif ;--- User the "HR" & "/P" tags --- <$hr> <p>Hi ya<$/p>
![]() | ![]() | ![]() | ![]() | ![]() |