Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9227075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:58:51+00:00 2026-06-18T04:58:51+00:00

Using direct input into the W3schools validator I am getting many errors, but a

  • 0

Using direct input into the W3schools validator I am getting many errors, but a lot of those errors are very similar stating things like:

character data is not allowed here:

var $tr = $("<tr class='optionAndAnswer' align='center'>");

(pointing at ” at the end)

Also I keep getting this below which I don’t quite understand what the problem is:

How about this?

var $options = $("<td><table class='option'><tbody><tr><td class='opt'>1. Option Type:</td></tr></tbody></table></td>");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:58:52+00:00Added an answer on June 18, 2026 at 4:58 am

    It sounds like you are using XHTML and placing your JavaScript inline in a <script> element.

    The simplest way to solve this is to not use XHTML, which brings more trouble then benefits for most people. Use HTML 4.01 Strict or the HTML 5 draft instead.

    If you want to persist in using XHTML then…

    In XHTML the rules for script elements change and no longer contain intrinsic CDATA (because XML doesn’t support it). This means that < means “Start of tag” as usual and not “A less than sign”. You must either use explicit CDATA markers or represent characters with special meaning (such as <) by character references (such as &gt;).

    Since most XHTML is served as text/html you need to write your XHTML so that it is compatible with HTML parsers as well as XHTML parsers. The character reference approach will break in HTML parsing mode.

    See the HTML Compatibility Guidelines which explain how to munge CDATA markers to be compatible with HTML and XHTML in script elements. Do note their recommendation to use external scripts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking at using ExtJS Direct with ASP.NET MVC but it doesn't seem
This is a very direct follow-up on this question . Using matplotlib , I'd
When using HTML5 email fields — <input type=email/> — a lot of UAs (user
Using string functions and a whole lot of if-else turns this into a real
i want to submit a form using Ext.Direct and iam following all the guidelines
See http://support.microsoft.com/kb/312629/EN-US/ I am using reponse.direct in my app as well and I am
Is it possible to send direct message using the facebook graph api? I’ve read
I dont see any direct mention on using multiple slugs (or any behavior for
Using NDepend , how can I find all, direct and indirect, uses of a
Is there a direct way to parse an iCalendar date to .net using c#?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.