Here is the context in question:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Paddy' s Dog Shows</title>
<meta content="six" name="author">
<link rel="stylesheet " type="text/css" href="dog_pages .css" title="Dog
Pages Styles" media="screen, print" />
</head>
line 8 is the link statement:
here is the error message
Errors
Line 8, character 109:
.... yles" media="screen, print" />
^Error: text is not allowed here; try
wrapping the text in a more descriptive container
what is the error and what did I do wrong.
--
Bill Drescher
william {at} TechServSys {dot} com 4 4491
bill drescher schrieb: Here is the context in question: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Paddy' s Dog Shows</title> <meta content="six" name="author"> <link rel="stylesheet " type="text/css" href="dog_pages .css" title="Dog Pages Styles" media="screen, print" /> </head>
line 8 is the link statement:
here is the error message
Errors Line 8, character 109: ... yles" media="screen, print" /> ^Error: text is not allowed here; try wrapping the text in a more descriptive container
what is the error and what did I do wrong.
You are mixing HTML and XML Style.
Drop the / in HTML empty tags.
Jan
--
Axis of Evil! Countries with death penalty on juveniles:
Iran, Nigeria, Pakistan, Saudia Arabia, USA
bill drescher wrote: Here is the context in question: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Paddy' s Dog Shows</title> <meta content="six" name="author"> <link rel="stylesheet " type="text/css" href="dog_pages .css" title="Dog Pages Styles" media="screen, print" /> </head>
line 8 is the link statement:
here is the error message
Errors Line 8, character 109: ... yles" media="screen, print" /> ^Error: text is not allowed here; try wrapping the text in a more descriptive container
what is the error and what did I do wrong.
Not sure if this causes the error, but your doctype states
HTML, not XHTML. So you shouldn't put a / before the >.
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Annie Lennox - Walking On Broken Glass
In article <Xn************ *****@130.133.1 .4>,
Els <el*********@ti scali.nl> writes: Not sure if this causes the error, but your doctype states HTML, not XHTML. So you shouldn't put a / before the >.
Yes, that is the cause of the error. Google for SHORTTAGS, or see http://valet.webthing.com/page/parsemode.html
If you validate with Page Valet and select SGML mode you'll get
the same error you saw. Select HTML mode and you'll get a more
meaningful error message.
--
Nick Kew
Jan Steffen wrote: bill drescher schrieb:
Here is the context in question: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>Paddy' s Dog Shows</title> <meta content="six" name="author"> <link rel="stylesheet " type="text/css" href="dog_pages .css" title="Dog Pages Styles" media="screen, print" /> </head>
line 8 is the link statement:
here is the error message
Errors Line 8, character 109: ... yles" media="screen, print" /> ^Error: text is not allowed here; try wrapping the text in a more descriptive container
what is the error and what did I do wrong.
You are mixing HTML and XML Style. Drop the / in HTML empty tags.
Jan
Thanks all, I redid the doctype as xhtml and all is well.
--
Bill Drescher
william {at} TechServSys {dot} com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Madha K |
last post by:
I am developing a web application that need to support UTF-8
characters.
For client side validations, can javascript be used to handle UTF-8
characters.
1) How javascript can be used to restrict non-utf8 characters?
2) Using javascript how to find the lengh of a string having unicode
characters?
e.g: For a field Name on the form, there is a corrosponding field Name
varchar2(10) in DB. Through my application when i try enter 10 normal...
|
by: Colin Basterfield |
last post by:
Hi,
I have a web form which takes daily sales totals, both counts and monetary
value and is done on a weekly basis, so on a Monday morning the User would
enter these totals. Each total has a range, which at the lower end is >= 0
and the upper limit is configurable, these totals are then submitted to a
web service which posts them to a data store.
The question is regarding validation, obviously I can validate on the web
form using...
|
by: Matt |
last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or
Client-Side form validation? Since I think each validator control can select
either 1) JavaScript based error dialog or 2) show the error message next to
the control. For example, if the text field is empty with RequiredField
Validator control, it can show the value in ControlToValidate property in
two ways as I mentioned.
Please advise. Thanks!
|
by: Ely |
last post by:
When validating a control client side, is there a way to get the error
message to display in the validation summary as soon as the control losses
focus? Right now it only displays when the user clicks on the submit
button.
Thanks,
Ely
|
by: aeshtry |
last post by:
Hello dear friends
I have an urgent question. Would you please give me your professional idea?
I have an html table containing the ASP.Net validation summary and an ASP.Net label control.
The table background has different color than other sections. I want to show the error message inside a section (with different background color) only when an error occurred. This error can be a validation client error (generated by validation controls...
| |
by: Richard Brown |
last post by:
Ok, I've been looking through the .NET SDK docs and stuff.
I'm wondering if you can provide a control extender that does generic
validation or functionality just by dropping it on the form. For instance,
using the IExtenderProvider interface, you can specify properties, but there
is nothing documented about linking into a control's events.
For instance, in my application, there are specific formatting,
functionality and validation for...
|
by: redefined.horizons |
last post by:
I'm new to C#, (coming from a Java programming background), and I have
a question about the correct use of exceptions. My book "Programming
C#" by O'Reilly says the following in Chapter 11, "Handling
Exceptions", on page 245:
"An error is caused by user action. For example, the user might enter a
number where a letter is expected. Once again, an error might cause an
exception, but you can still prevent that by catching errors with...
|
by: Chris |
last post by:
Hi,
I have a form for uploading documents and inserting the data into a mysql
db. I would like to validate the form. I have tried a couple of Javascript
form validation functions, but it appears that the data goes straight to the
processing page, rather than the javascript seeing if data is missing and
popping up an alert. I thought it may be because much of the form is
populated with data from the db (lists, etc.), but when I leave...
|
by: Rik |
last post by:
Hello guys,
now that I'm that I'm working on my first major 'open' forms (with
uncontrolled users I mean, not a secure backend-interface), I'd like to add
a lot of possibilities to check wether certain fields match certain
criteria, and inform the user in different ways when the data is wrong
(offcourse, this will be checked on posting the data again, but that's
something I've got a lot of experience with).
Now, offcourse it's...
|
by: Sudhakar |
last post by:
A) validating username in php
as part of a registration form a user fills there desired username and
this is stored in a mysql. there are certain conditions for the
username.
a) the username should only begin either letters or numbers, and
Underscore character
example = user123, 123user, u_ser123, user_123 = completely case
insensitive
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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.
| |