Closing tags with a /

A quick one - how do I close a tag generated by an Action with a / - e.g. <img … />?

myImg = tag.fwAdd("img",true);

gives me
<img …>


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Any single-ended tag will be closed with a / if you have set the page level to a Strict doctype. Otherwise, it will be that odd start-tag-only business that looks wrong.

Walter

On Nov 19, 2013, at 5:48 AM, Paul wrote:

A quick one - how do I close a tag generated by an Action with a / - e.g. <img … />?

myImg = tag.fwAdd(“img”,true);
gives me
<img …>


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options