Ive seen a lot of people type the tag without the fore slash at the end. Are they doing it wrong?
The new XML and XHTML standards will require any tag that doesn’t have a closing tag to include a fore slash at the end. This means that tags such as ,
, and
are properly written with a fore slash to “close” them. However, just because new HTML standards are released doesn’t mean that the people writing the web browsing software will require you to follow them. As of right now, and more then likely for quite some time, you should be able to write your non closing tags just as they are and not worry about using a fore slash. It would be a good idea to try and get into the habit of using them, however, simply because eventually web browsing software may not recognize the old HTML standards.