Jump to content

[solved] Trivial Question


damiancds

Recommended Posts

i see this in the examples section here and I haven't figured out the importance<br />I realize it's a break tag, I know that much, what I don't know is the meaning of the slashcan anyone explain this?thanks in advance,

Link to comment
Share on other sites

The 'slash' closes the tag.Usually the 'end' tag of a tag-pair has the 'slash', but some tags are 'empty' and do not have an ending tag, so having it in the opening tag works to signal the end of the tag-block.Meta tags in xhtml also need the slash, but there are not many that need it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...