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 6115527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:06:06+00:00 2026-05-23T15:06:06+00:00

This code does not validate. This is counter-intuitive to me. Inputs belong in a

  • 0

This code does not validate. This is counter-intuitive to me. Inputs belong in a from correct? Yet I get a validation error for each element with in the form – input,input,a,a – to this effect:

Seems absurd to wrap it in a fieldset and then add CSS to take out the fieldset box.

Line 37, Column 91: document type
does not allow element “input” here;
missing one of “p”, “h1”, “h2”, “h3”,
“h4”, “h5”, “h6”, “div”, “pre”,
“address”, “fieldset”, “ins”, “del”
start-tag

  <form id="f3"method="post"action="interface_add.php">
    <input onkeydown="this.value=''"class="te3"type="text"name="f3a"value="title"/>
    <input onkeydown="this.value=''"class="te3"type="text"name="f3b"value="url"/>
    <a id="f3c"class='but'href="javascript:void(0)"onclick="interface_add()">Add</a>
    <a id="f3d"class='but'href="javascript:void(0)"onclick="interface_delete()">Delete</a>
  </form>
  • 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-05-23T15:06:06+00:00Added an answer on May 23, 2026 at 3:06 pm

    It is highly recommended (it may even be required in strict) to use a <fieldset> when creating a form. You should include a <legend> as well.

    But why should you really do it? Accessibility. Screen readers read this information so a user knows what information they should be providing in the grand scheme. I’m pretty sure Section 508 requires it’s use as well. It’s been argued that federal laws don’t apply to private websites, but tell that to Target, who was sued over accessibility issues.

    In reality, it’s not hurting anything to include it. And you can style it as you will.

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

Sidebar

Related Questions

I am completely stumped as to why this code does not get any SDL
This code does not seem to compile, I just need to write something to
What does STRAIGHT_JOIN do in this code ? SELECT STRAIGHT_JOIN ClosingBalance FROM Accounts WHERE
Does anyone know of a solution to the following markup validation error? I'm not
Does empty() function validate all of this cases: 1.var=null 2.var=empty string / 3.var=not set
Can somebody advise me what this code does and how can I convert it
Why does this code fail to display the category name Apples using the current
Why does this code: class A { public: explicit A(int x) {} }; class
The code currently does this and the fgetpos does handle files larger than 4GB
I keep seeing code that does checks like this if (IsGood == false) {

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.