My homepage, www.jimpix.co.uk uses transitional XHTML.
The whole thing validates except one line:
<noscript><im g height="1" width="1" alt=""
src="http://u0.extreme-dm.com/0.gif?tag=riggo tt&j=n" /></noscript>
I get this error on this page: http://validator.w3.org/check?uri=ht...w.jimpix.co.uk
Line 106, column 18: document type does not allow element "noscript" here;
missing one of "object", "applet", "map", "iframe", "button", "ins", "del"
start-tag
this is pointing to the start of the <noscript> tag.
I need the code to enable a site tracker I use (XTreme Tracking).
I have had a look on usenet and the web, but can't find anything to help
solve it.
Thanks
Jim 12 21772
Burton Figg wrote: My homepage, www.jimpix.co.uk uses transitional XHTML.
The whole thing validates except one line:
<noscript><im g height="1" width="1" alt="" src="http://u0.extreme-dm.com/0.gif?tag=riggo tt&j=n" /></noscript>
I get this error on this page:
http://validator.w3.org/check?uri=ht...w.jimpix.co.uk
Line 106, column 18: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
this is pointing to the start of the <noscript> tag.
As far as I can see the <noscript> is a child of a <p> element, if you
look at the definition for <p> you will find
<!ELEMENT p %Inline;>
with
<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)* ">
and with
<!ENTITY % misc.inline "ins | del | script">
and with
<!ENTITY % inline "a | %special; | %fontstyle; | %phrase; |
%inline.forms;" >
and none of those contain the <noscript> element which only occurs in
<!-- these can only occur at block level -->
<!ENTITY % misc "noscript | %misc.inline;">
so basically <noscript> is not allowed inside of a <p> element.
Of course your content is text/html and existing browsers for that
content type use tag soup parsers and don't care about placement of the
<noscript> element.
--
Martin Honnen http://JavaScript.FAQTs.com/
Burton Figg wrote: My homepage, www.jimpix.co.uk uses transitional XHTML.
Out of curiousity, why xhtml and not html? and why transitional and
not strict?
The whole thing validates except one line:
<noscript><im g height="1" width="1" alt="" src="http://u0.extreme-dm.com/0.gif?tag=riggo tt&j=n" /></noscript>
I get this error on this page:
Line 106, column 18: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
The noscript element's child must be a block level element. <img> is
inline.
I need the code to enable a site tracker I use (XTreme Tracking).
That sounds unfortunate.
I have had a look on usenet and the web, but can't find anything to help solve it.
<noscript>
<div>
<img height="1" width="1" alt=""
src="http://u0.extreme-dm.com/0.gif?tag=riggo tt&j=n" />
</div>
</noscript>
--
Brian
follow the directions in my address to email me
Brian wrote: Burton Figg wrote:
My homepage, www.jimpix.co.uk uses transitional XHTML.
I get this error on this page:
Line 106, column 18: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
The noscript element's child must be a block level element. <img> is inline.
With the transitional document type the noscript content is flow which
allows inline or block content.
--
Martin Honnen http://JavaScript.FAQTs.com/
Martin Honnen wrote: Brian wrote:
Burton Figg wrote:
My homepage, www.jimpix.co.uk uses transitional XHTML. I get this error on this page:
Line 106, column 18: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
The noscript element's child must be a block level element. <img> is inline.
With the transitional document type the noscript content is flow which allows inline or block content.
Oops. My bad. I've never used html transitional, and am unfamiliar
with its dtd. I failed to consider that noscript might be different
in regards to allowed content. My apologies.
--
Brian
follow the directions in my address to email me
Martin Honnen wrote: Brian wrote:
The noscript element's child must be a block level element. <img> is inline.
With the transitional document type the noscript content is flow which allows inline or block content.
I must say, upon reflection, I'm puzzled by this. Why is inline
content allowed in the transitional dtd, but not in the strict one? I
don't see this as a presentational (x)html issue.
--
Brian
follow the directions in my address to email me
Brian wrote: With the transitional document type the noscript content is flow which allows inline or block content.
I must say, upon reflection, I'm puzzled by this. Why is inline content allowed in the transitional dtd, but not in the strict one? I don't see this as a presentational (x)html issue.
Becuase the difference between Transitional and Strict is not just about the
removal of presentational markup.
--
David Dorward <http://dorward.me.uk/>
In article <bs**********@t itan.btinternet .com>, one of infinite monkeys
at the keyboard of "Burton Figg" <so*****@somewh ere.com> wrote: Line 106, column 18: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
Can't check while I'm offline, but that probably means you've put
<noscript> in an inline element. I expect you'd also get a more
helpful error message from Page Valet or the WDG Validator.
--
Nick Kew
In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
On Tue, 30 Dec 2003 13:49:28 +0000 (UTC), "Burton Figg"
<so*****@somewh ere.com> wrote: The whole thing validates except one line:
[...]this is pointing to the start of the <noscript> tag.
Martin has pointed out your specific problem - but as a general rule,
validators never point out where the error _is_, they point out the
place where the error becomes obvious. The thing causing it is almost
always earlier on in the input.
--
Klein bottle for rent. Apply within.
Nick Kew wrote: Can't check while I'm offline, but that probably means you've put <noscript> in an inline element. I expect you'd also get a more helpful error message from Page Valet or the WDG Validator.
Correct. <noscript/> may not appear within <font/> or any other inline
element.
<font/> shouldn't appear at all on a page, but that is a different subject.
--
Anne van Kesteren
<http://www.annevankest eren.nl/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gustav Medler |
last post by:
Hello,
there is a known problem with Opera and the execution of content shown
in <NOSCRIPT> tag.
Everythings works fine, if there is only one simple script like:
http://www.dr-wald.de/test/Opera-NOSCRIPT.html
Switching off Javascript will show the alternative content. Javascript
enabled will only show the JS-content, _not_ the <NOSCRIPT> content.
|
by: llaxman |
last post by:
Hello everyone,
I was wondering if anyone can help me? I am having some problems wit
the <noscript> tag.
I actually use it to block banner advertisements from being displaye
in my website. I have used it at the <body> tag section and look
something like this:
<noscript>
|
by: Paul |
last post by:
Hello:
I read the FAQ about embedding HTML code in a Javascript. I have used the "<\/tag>" format
to get around validator problems. Now the <NOSCRIPT> block is failing with error #65:
1. Line 52, column 9: document type does not allow element "NOSCRIPT" here; missing one
of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
<NOSCRIPT>
|
by: Spartanicus |
last post by:
Afaik the use of a <noscriptelement is frowned upon nowadays. For a JS
random image changer I tried to use a replacement by having the script
change the HTML src attribute value of an img element. The trouble is
that in some situations like over slow connections (on initial load when
the JS is in an external file), or with a slow client the image
specified in the HTML starts to load and display before it's changed by
the script. This I'm...
|
by: Gretsch |
last post by:
I have a lot of nicely formatted HTML to be displayed for visitors WITHOUT script (/enabled), and a second set of HTML for those WITH script.
The <noscript> tag allows me to separate the HTML for those without script,
How can I separate the HTML for those with script? (ie not run for those without script enabled.
The only way I've found so far is:
...
<noscript>
This should only be diplayed when scripting is not configured
| |
by: FreeCopywritingTips |
last post by:
Does anyone know how to get around the </noscriptissue, were my HTML
editor refuses to save this tag?
|
by: phpmel |
last post by:
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language="JavaScript" type="text/javascript">
</script>
<noscript>
<b>Please</b> Try this page for browsers that can not handle SCRIPTing.
<a href="EnableJavascript.aspx">click here</a>
</noscript>
|
by: phpmel |
last post by:
hi guys,
here is my problem,
i have a masterpage that has a menu. on my homepage, i added the <noscript> tag to verify if the user has scripting enabled or not in the browser. When scripting is disabled and the error message is shown, the menu which is part of the masterpage,is disabled also so unless the user enables scripting,then the menu is non functional.
i wanted to know why this is happening because even though javascript is not...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |