Forum Moderators: open
No.. only 'empty tags', tags that don't have a closing tag need the slash at the end.
<img /> <br /> <input /> <meta /> <link />
Tags like <table> and <a> should be closed with their own closing tags </table>, </a>.
If you want to read up on XHTML (there's more to it), try a tutorial like this one: [w3schools.com ]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Use this when you need to take advantage of HTML's presentational features and when you want to support browsers that don't understand Cascading Style Sheets.
I would really like to use strict and I have css, does this mean that it won't be compatible with some browsers?
Sev.
[dithered.com ]