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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:43:20+00:00 2026-05-12T17:43:20+00:00

I thought that an html form has no effect on the layout of a

  • 0

I thought that an html form has no effect on the layout of a page, and that it is just a way to group fields to send their values to the server in a single request.

However, I notices that when I remove the form tag, the layout changes.

Where can I find an explanation of visual effects of the <form> tag?

  • 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-12T17:43:20+00:00Added an answer on May 12, 2026 at 5:43 pm

    <form> is a block-level element, so at the very least, it will appear on its own line. It probably also has some basic margin and padding attributes as a default. I would recommend using Firebug to inspect the form element and see what it’s layout properties are.

    You can easily adjust the appearance of <form> through either an external css file, css in your document HEAD, or inline styles on the form, like this:

    <form style="margin: 0; padding: 0; background-color: #cc5500;">
    ...
    </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I thought that layout is just a widget that keeps more widgets inside. But
I'm working on creating an HTML form that has an image in the background.
In an html form I have a checkbox that has a label. When you
I am making a feedback form for my website using php, I thought that
I am building a dynamic form system that will automatically assemble an HTML form
I have a index.jsp file that has two different types of forms <form action=searchpath
I have a view which validates data from a form which just has some
I have a cross-browser form that is called in an iframe. The form has
I have a comment form (in comments/_form.html.erb) that I use in my other controllers
I thought that by convention, only methods with an exclamation mark altered the object.

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.