|
Posted by Jeff Dege on 08/04/07 00:26
On Fri, 03 Aug 2007 16:21:00 -0700, Jim Moe wrote:
> Jeff Dege wrote:
>>>> I'm trying to lay out some divs that have content inserted via
>>>> javascript. Just because it's cleaner, I've been using self-closing
>>>> div elements: "<div />"
>>>>
>>> That is XML syntax, not HTML. To an HTML parser "<div />" resolves
>>> to
>>> "<div>".
>>> Run the code through a validator.
>>
>> I'd figured that since every time I type "<br>" into my editor, it
>> changes it to "<br />", that HTML 4+ had incorporated self-closing
>> elements.
>>
> What editor are you using that is so helpful?
Microsoft's, of course. Visual Studio.
(There are times where I really miss editing html in vi.)
--
Of all the dogs I have known the terrier has the best memory for friends.
Even casual friends are not forgotten if once accepted. As for the
master, what can exceed the patience and fidelity of the terrier if
once his heart is given; and if he is a little jealous and exclusive,
after all that is not peculiar to dogs.
-T.F. Dale
Navigation:
[Reply to this message]
|