Possible Duplicate:
Are self-closing tags valid in HTML5?
When using self-closed tags in XHTML, you use this type of syntax:
<img src="myimage.png" />
However, this is perfectly valid in HTML:
<img src="myimage.png">
Is the XHTML-style technically considered invalid in HTML5, or is it still perfectly fine to continue using this syntax?
The syntax you describe is perfectly valid in HTML5.
EDIT: Here’s a really good thread on the matter that describes the nuances: Are (non-void) self-closing tags valid in HTML5?