Technical Support Forums » Araneae
Syntax Hilight for <Select> tags (4 posts)
-
I noticed that <SELECT> tags do not have the proper syntax highlighting. I would be led to think that they should be the colour I specify for <FORM> tags. However, they display the same colour as 'Other Tags'.
-
Oops, forgot in the last one ( :-// ). The syntax hilighting doesn't work properly highlight <script> tags if they don't contain attributes ( eg. language="javascript" ). Again, it is recognized as an 'Other Tag'.
-
However, you shouldn't be using script elements without attributes anyway -- you should always have type="text/javascript" (or some other value of the type attribute) in your starting tag.
Of course, you are right, highlighting should occur anyway. -
I always do use tag attributes, unless I'm just fiddling around with something that I might modify later. But, yes, you are right, <script> tags should always have attributes to them -- it's just something I noticed...