<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>The .NET Universe revealed! - techniques for the .NET Developer - Html</title>
    <link>http://blogs.mastronardi.be/Sandro/</link>
    <description>The secrets of .NET Development</description>
    <language>en-us</language>
    <copyright>Sandro Mastronardi</copyright>
    <lastBuildDate>Wed, 10 Jan 2007 13:45:03 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.12105.0</generator>
    <managingEditor>sandro.mastronardi@mastrosoft.com</managingEditor>
    <webMaster>sandro.mastronardi@mastrosoft.com</webMaster>
    <item>
      <trackback:ping>http://blogs.mastronardi.be/Sandro/Trackback.aspx?guid=37fcb1bf-a541-45ef-b2ea-6027bb16b623</trackback:ping>
      <pingback:server>http://blogs.mastronardi.be/Sandro/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.mastronardi.be/Sandro/PermaLink,guid,37fcb1bf-a541-45ef-b2ea-6027bb16b623.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.mastronardi.be/Sandro/CommentView,guid,37fcb1bf-a541-45ef-b2ea-6027bb16b623.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.mastronardi.be/Sandro/SyndicationService.asmx/GetEntryCommentsRss?guid=37fcb1bf-a541-45ef-b2ea-6027bb16b623</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
For many statistics and tracking applications all over the internet you need
to implement a code snippet containing a noscript tag with a hidden image to make
the logging still work if scripting is disabled.  This is done with the &lt;noscript&gt;
tag.
</p>
        <p>
But...
</p>
        <p>
In Xhtml 1.0 Strict the noscript tag is invalid for the validator if inside a HTML
block element (&lt;p&gt;,&lt;th&gt;,&lt;td&gt;,...).  As a followup to the previous
post to make .NET applications Xhtml valid this one is a small addon, but it doesn't
require .net, only HTML.
</p>
        <p>
To make a &lt;noscript&gt;...&lt;/noscript&gt; tag valid for the w3c validator you
should replace it with &lt;object&gt;&lt;noscript&gt;&lt;div&gt;...&lt;/div&gt;&lt;/noscript&gt;&lt;/object&gt;.<br />
This weird followup of tags makes it possible to make the page validate.  The
object tag makes the use of the &lt;noscript&gt; tag possible in other tags like the
&lt;p&gt; tag.<br />
As for most statistics scripts you need to implement, the &lt;noscript&gt; tag contains
one single &lt;img ..../&gt; tag.  That would generate another error in the validator
because there is no &lt;img/&gt; tag allowed inside a &lt;noscript&gt; tag. 
Therefore the div is placed inside the &lt;noscript&gt; tag to make even that little
invisible image validate.
</p>
        <p>
Wonderful that this works, it made my search worth the while.
</p>
        <p>
          <font size="1">Source: </font>
          <a href="http://docs.phpcms.de/index.php/En:Why_do_I_get_validation_errors_with_DTD_XHTML_1.0_and_MAIL2CRYPT%3F">
            <font size="1">phpCMS
Wiki</font>
          </a>
          <br />
        </p>
        <img width="0" height="0" src="http://blogs.mastronardi.be/Sandro/aggbug.ashx?id=37fcb1bf-a541-45ef-b2ea-6027bb16b623" />
      </body>
      <title>Make the noscript tag xhtml valid</title>
      <guid isPermaLink="false">http://blogs.mastronardi.be/Sandro/PermaLink,guid,37fcb1bf-a541-45ef-b2ea-6027bb16b623.aspx</guid>
      <link>http://blogs.mastronardi.be/Sandro/2007/01/10/MakeTheNoscriptTagXhtmlValid.aspx</link>
      <pubDate>Wed, 10 Jan 2007 13:45:03 GMT</pubDate>
      <description>&lt;p&gt;
For many statistics and tracking&amp;nbsp;applications all over the internet you need
to implement a code snippet containing a noscript tag with a hidden image to make
the logging still work if scripting is disabled.&amp;nbsp; This is done with the &amp;lt;noscript&amp;gt;
tag.
&lt;/p&gt;
&lt;p&gt;
But...
&lt;/p&gt;
&lt;p&gt;
In Xhtml 1.0 Strict the noscript tag is invalid for the validator if inside a HTML
block element (&amp;lt;p&amp;gt;,&amp;lt;th&amp;gt;,&amp;lt;td&amp;gt;,...).&amp;nbsp; As a followup to the previous
post to make .NET applications Xhtml valid this one is a small addon, but it doesn't
require .net, only HTML.
&lt;/p&gt;
&lt;p&gt;
To make a &amp;lt;noscript&amp;gt;...&amp;lt;/noscript&amp;gt; tag valid for the w3c validator you
should replace it with &amp;lt;object&amp;gt;&amp;lt;noscript&amp;gt;&amp;lt;div&amp;gt;...&amp;lt;/div&amp;gt;&amp;lt;/noscript&amp;gt;&amp;lt;/object&amp;gt;.&lt;br&gt;
This weird followup of tags makes it possible to make the page validate.&amp;nbsp; The
object tag makes the use of the &amp;lt;noscript&amp;gt; tag possible in other tags like the
&amp;lt;p&amp;gt; tag.&lt;br&gt;
As for most statistics scripts you need to implement, the &amp;lt;noscript&amp;gt; tag contains
one single &amp;lt;img ..../&amp;gt; tag.&amp;nbsp; That would generate another error in the validator
because there is no &amp;lt;img/&amp;gt; tag allowed inside a &amp;lt;noscript&amp;gt; tag.&amp;nbsp;
Therefore the div is placed inside the &amp;lt;noscript&amp;gt; tag to make even that little
invisible image validate.
&lt;/p&gt;
&lt;p&gt;
Wonderful that this works, it made my search worth the while.
&lt;/p&gt;
&lt;p&gt;
&lt;font size=1&gt;Source: &lt;/font&gt;&lt;a href="http://docs.phpcms.de/index.php/En:Why_do_I_get_validation_errors_with_DTD_XHTML_1.0_and_MAIL2CRYPT%3F"&gt;&lt;font size=1&gt;phpCMS
Wiki&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.mastronardi.be/Sandro/aggbug.ashx?id=37fcb1bf-a541-45ef-b2ea-6027bb16b623" /&gt;</description>
      <comments>http://blogs.mastronardi.be/Sandro/CommentView,guid,37fcb1bf-a541-45ef-b2ea-6027bb16b623.aspx</comments>
      <category>Html</category>
      <category>W3C</category>
      <category>Xhtml</category>
    </item>
  </channel>
</rss>