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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:33:21+00:00 2026-06-08T04:33:21+00:00

As far as I am aware, a <form></form> tag is supposed to be invisible

  • 0

As far as I am aware, a <form></form> tag is supposed to be invisible as part of a webpage, and that when designing a form, one should use div tags (or equivalent) to represent the physical form structure.

Is it acceptable (according to W3C standards) to apply CSS to a <form></form> tag? and can anyone point me in the right direction for literature on this issue?

  • 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-08T04:33:22+00:00Added an answer on June 8, 2026 at 4:33 am

    As far as I am aware, a <form></form> tag is supposed to be invisible as part of a webpage

    It is supposed to represent a form. That is definitely visible thing

    and that when designing a form, one should use div tags (or equivalent) to represent the physical form structure.

    <div> is the tag of last resort. Use it when something more suitable (like <form> or <fieldset>) does not exist.

    Is it acceptable (according to W3C standards) to apply CSS to a <form></form> tag?

    Baring bugs in browsers, it is acceptable to style any element in the document.

    and can anyone point me in the right direction for literature on this issue?

    Since there is nothing special about the element, it does not need specific documentation.

    The closest I can think of is this warning from the CSS 2.1 specification:

    Note. CSS gives so much power to the “class” attribute, that authors could conceivably design their own “document language” based on elements with almost no associated presentation (such as DIV and SPAN in HTML) and assigning style information through the “class” attribute. Authors should avoid this practice since the structural elements of a document language often have recognized and accepted meanings and author-defined classes may not.

    … but relating that to the question is a stretch since you are suggesting using semantic markup, but adding unnecessary divs purely for styling.

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

Sidebar

Related Questions

As far as I am aware, IE9 should have CSS support for rounded corners.
As far as I am aware C++ string declaration follows the form: std::string param;
I have a web form and I'm using PHP. I'm aware that forms can
I have a form on one of my ASP.Net MVC views that I created
As far as I'm aware, plain html or javascript won't allow me to upload
So far I know that FileSystemWatcher can look into a folder and if any
The advantages of DI, as far as I am aware, are: Reduced Dependencies More
I would persuade a friend me that using Using Database Components (DB Aware Controls)
As you aware, in .NET code-behind style, we already use a lot of function
I'm aware that questions have been asked and answered about the Android soft keyboard

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.