E
emf
It suddenly crossed my mind that it might be possible to create your own
html elements to replace <span>, and define them in CSS.
So I tried it in one of my first webpages:
https://files.nyu.edu/emf202/public/bd/warprayer.html
Since still I have a rather limited number of webpages, sometimes I feel
going back and revising and updating my old webpages' code. This one
needs more revising (it has mistakes in the image tags), but for now
what I did was create 2 new elements <prayer> and <angel> to replace
classes (<span class="prayer"> and <span class="angel">).
It works in FF but not in IE, so I'll be reverting to the <span> code
shortly. For a brief moment it seemed to me a pretty good idea
though!... But before re-revising the code, I'd like to hear more
experienced programmers' opinions on this. What do you think?
Thanks,
emf
html elements to replace <span>, and define them in CSS.
So I tried it in one of my first webpages:
https://files.nyu.edu/emf202/public/bd/warprayer.html
Since still I have a rather limited number of webpages, sometimes I feel
going back and revising and updating my old webpages' code. This one
needs more revising (it has mistakes in the image tags), but for now
what I did was create 2 new elements <prayer> and <angel> to replace
classes (<span class="prayer"> and <span class="angel">).
It works in FF but not in IE, so I'll be reverting to the <span> code
shortly. For a brief moment it seemed to me a pretty good idea
though!... But before re-revising the code, I'd like to hear more
experienced programmers' opinions on this. What do you think?
Thanks,
emf