|
Posted by David Dorward on June 19, 2007, 2:54 am
Please log in for more thread options
> As far as I know <div> always has a closing tag. I've NEVER
> seen <div/> until your post here.
It is fine in (true) XHTML (for which the previously mentioned 'older
browsers' will go 'Eh? Don't recognise this. You wanna save it to your
disk?'
> Even HTML requires a closing
> tag.
The above code sample has a closing tag.
> Also note that <div> tags
Elements, not tags
> may default to clear:both;
They don't
> http://www.w3schools.com/tags/http://www.w3schools.com/tags/tag_div.asp
Avoid w3schools. They provide more errors per paragraph then any other
HTML tutorial site.
--
David Dorward
http://dorward.me.uk/ http://blog.dorward.me.uk/
|