iyeru42 Posted March 20, 2007 Share Posted March 20, 2007 I was wondering if it was at least OK practice to use custom-made tags in HTML. For example, the below code: <TAGGER class="blah">Content</TAGGER> I've done this before, and HTML said it was all fine and dandy (without any XML.) Link to comment Share on other sites More sharing options...
Nim199 Posted March 20, 2007 Share Posted March 20, 2007 I am not sure, but, unless a tag is understood by the browser, I dought it will function. I will look into it for you.Best of Luck! Link to comment Share on other sites More sharing options...
aspnetguy Posted March 20, 2007 Share Posted March 20, 2007 You can use them but you will not be able to validate your code. You could use something like this instead <span class="tagger"></span> Then your CSS or javascript could check for the tagger class and not the tag Link to comment Share on other sites More sharing options...
iyeru42 Posted March 20, 2007 Author Share Posted March 20, 2007 Thanks, I'll keep that in mind. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now