/    Sign up×
Community /Pin to ProfileBookmark

Validation Questions

OK…I did it!

I converted my XHTML compliant site back to HTML…

…by freakin’ hand (as in, “manually.”)

(& for those that helped me to determine that as the correct approach…thanks.)

I replaced the XHTML prologue with HTML, for every page (&…I apologize if that’s a misspell…everyone else seems to spell it “prolog.”)

Then I rewrote all the image, meta, object, area & line break tags to HTML standard…

…& validated the entire site (in Dreamweaver.)

There are a few errors that I am having trouble with; & I was hoping someone could point me in the right direction (& believe me…I am very appreciative of all the help already received in the board):

1) [I]The tag: “table” doesn’t have an attribute. “height” in currently active versions.[/I]

All I did here was to place a Table inside of a Layer. It seems to look fine on the web. Can’t figure out why this is an error.

2) [I]The tag: “marquee” is not allowed within: “strong” is only allowed within: body.[/I]

Here, I placed a scrolling marquee script (again, inside a Layer.) I made the text bold, because it looked weak, otherwise. I was under the impression that it only worked in IE, but a friend of mine informed me that it works for them in Navigator, as well. Is having a scrolling marquee a problem? Is there a better way to accomplish this?

3) I have 4 tags *above* the <!DOCTYPE> tag:

<cfprocessingdirective pageEncoding=”iso-8859-1″/>
<cfcontent type=”text/html; charset=iso-8859-1″/>
<cfset setEncoding(“URL”, “iso-8859-1”)/>
<cfset setEncoding(“FORM”, “iso-8859-1”)/>,

…which were written there when I placed a PayPal button on a merchandise page, which links to a payment form at PayPal. The Validator claims the “cfprocessingdirective”, “cfcontent” & “cfset” tags are not found in currently active versions.

Not quite sure what to do about this one. I feel weird about the location, primarily (above the DTD.) Is it that, or the tags themselves?

4) [I]The tag name: “embed” not found in currently active versions.[/I]

This came about due to the fact that I placed 4 Flash Buttons on a page. They also seem to work fine.
———————————————————–

Thanks for any help,

[b]mark4man[/b]

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryAug 19.2003 — I presume you are using HTML 4.01 Strict, in which case the following apply:

  • 1. The height attribute for tables etc. is deprecated, and you should use CSS instead.


  • 2. Don't use marquees. They are not standards compliant and violate accessibility recommendations. They have never been part of HTML 4.01.


  • 3. None of those are valid tags anywhere, let alone above a doctype, but you may need them for PayPal to work. You may be able to move them into the <head> section, so at least browser quirks mode is avoided


  • 4. Embed is not a valid HTML 4.01 tag, it is an extension. You should use [url=http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT]object[/url] for standards compliance.


  • Adam

    P.S. Why on earth are you converting back from XHTML to HTML?
    Copy linkTweet thisAlerts:
    @FangAug 19.2003 — See [URL=http://forums.webdeveloper.com/showthread.php?s=&threadid=15513]mark4man's[/URL] previous thread.

    mark4man is apparently using:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> which is quirks mode.
    Copy linkTweet thisAlerts:
    @AdamGundryAug 19.2003 — Correction for point 1: height is not an attribute for <table>, it applies to <td> and <th> in the [url=http://www.w3.org/TR/html401/sgml/loosedtd.html]loose (transitional) DTD[/url], and does not apply to table elements at all in the strict DTD.

    The other points still apply.

    Adam
    Copy linkTweet thisAlerts:
    @mark4manauthorAug 19.2003 — In answer to your question, as XHTML, the page where I sold my CD, which contained a PayPal button (which linked to a payment form at PayPal)...

    ...did not work...

    ...with the error listed as XML in nature.

    Aside from that, some friends of mine with old Mac's (probably running old NN), claimed they could not display the site.

    So I just busted everything back to HTML. (I'll come back to it later...after I finish my CD...& convert back (& repair to that standard.) But for now...I didn't have the time.

    Moving ahead...the errors mentioned earlier were from Dreamweaver's validator. So, out of curiosity, I parsed the site at W3C. They only found 3 errors:

    1) Line 104, column 198: required attribute "ALT" not specified

    ..." width="262" height="262" border="0"></a></div>

    ^

    2) Line 106, column 106: element "MARQUEE" undefined

    ...Roman, Times, serif"><strong><marquee>escape

    ^

    3) Line 133, column 32: there is no attribute "BORDERCOLOR"

    <td width="142" bordercolor="#FFFFFF"><p>&nbsp;</p>

    Thanks for all the comments,

    [b]mark4man[/b]
    ×

    Success!

    Help @mark4man spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.19,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...