• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Key to Element Types: Empty and Non-Empty

Key to Element Types: Empty and Non-Empty

Empty: An element that contains no data but, rather, is an instruction to the browser to perform some action, such as force a line break or display an image. Empty elements in XHTML are terminated with a trailing slash, as in <br />.

Non-empty: An element that contains data. All nonempty elements in XHTML must be closed, as in this example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint