Hi,
Is it necessary to put the following code at the top of HTML/PHP web pages (code)?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Also, I see that some people use the following in method for the break tag:
Code:
<br /> rather than <br>
What is the difference?
And, one final question...
What is the following code for?
Code:
<div style="clear: both;"> </div>
I've noticed when I do use the above code in the bottom of my php (CSS formatted) pages, the columns don't stay sized properly...
You help with these issues is much appreciated.
Thank you.
B-truE