Thread: Closing Tags
View Single Post
  #1  
Unread 12-06-2006, 04:58 PM
ishnar ishnar is offline
A Brown Bear
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 11
Default Closing Tags

Hey,

I'm trying to update an old mod and I'm trying to get it organized in the text editor so I can better see what's going on, but closing tags are annoying me.

</page> seems to be used completely arbitrarily. I've opened some core files to compare here's an example from the bottom lines of mainhud.player

<Page AbsorbsInput="false" .....
<Page AbsorbsInput="false" Background....
<Page AbsorbsInput="false" Background ....
</Page>
</page> (Last line of file)

I really don't see why the top <page> gets closed but the middle two do not.

I know when HTML first came out that the standard didn't require closing tags for everything, and failure to close <p> tags and such is still supported. Is this just a case where the client forgot to add the closing tags? So I can do it myself--to my custom file--for my own peace of mind?

Thanks.
Reply With Quote