jordanwb Posted July 23, 2008 Share Posted July 23, 2008 I'm making a set of classes C# that read and write xml files. I know there are classes that do that already but anyways; that's not relevant. In XML or XHTML what is the technical name of tags that have a closing tag(<this></this>) and those that don't (<this />)? Link to comment https://forums.phpfreaks.com/topic/116266-solved-whats-the-name-of-tags-that-are-like-ltthisgtltthisgt-and-ltthis-gt/ Share on other sites More sharing options...
effigy Posted July 23, 2008 Share Posted July 23, 2008 Collectively they're called elements and I've seen them referenced individually as: <this> -- Start tag </this> -- End tag <this /> -- An empty element Link to comment https://forums.phpfreaks.com/topic/116266-solved-whats-the-name-of-tags-that-are-like-ltthisgtltthisgt-and-ltthis-gt/#findComment-597834 Share on other sites More sharing options...
jordanwb Posted July 23, 2008 Author Share Posted July 23, 2008 Is the <this /> tag still referred to as empty if it has properties? Link to comment https://forums.phpfreaks.com/topic/116266-solved-whats-the-name-of-tags-that-are-like-ltthisgtltthisgt-and-ltthis-gt/#findComment-597850 Share on other sites More sharing options...
effigy Posted July 23, 2008 Share Posted July 23, 2008 Attributes you mean, such as <this a="b" />? Yes, because "empty" is referring to the fact that there is no content. Link to comment https://forums.phpfreaks.com/topic/116266-solved-whats-the-name-of-tags-that-are-like-ltthisgtltthisgt-and-ltthis-gt/#findComment-597869 Share on other sites More sharing options...
jordanwb Posted July 23, 2008 Author Share Posted July 23, 2008 Ok thanks. Link to comment https://forums.phpfreaks.com/topic/116266-solved-whats-the-name-of-tags-that-are-like-ltthisgtltthisgt-and-ltthis-gt/#findComment-597881 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.