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

  • Home
  • SEARCH
  • 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 5995389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:57:10+00:00 2026-05-22T23:57:10+00:00

In my web application I have a user profile page. That page has these

  • 0

In my web application I have a user profile page. That page has these elements on it:

Connect with Twitter
Connect with Facebook
Timezone Select
Language Select

The first two things pop up an OAuth window allowing the user to connect. The last two things are saved with AJAX.

When I’m doing up the page, how should I do the HTML? I think that all of the items should probably be <li> elements in a ‘ul’ element, opposed to separate ‘div’ or ‘p’ elements for each.

But what container element should I use? I am debating between just using a ‘div’ and using a ‘form’ that has no action.

I am collecting some data, that’s the argument for a ‘form’ element, but the form is not actually going to be used – there will be no submit button. So that is the argument against it.

What would be the best practice for doing this? If you can provide a link to some supporting documentation that would be helpful, too.

Thanks!

  • 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-22T23:57:11+00:00Added an answer on May 22, 2026 at 11:57 pm

    Best practice is making the site work without Javascript, then adding Javascript / AJAX to it incrementally, as enhancements.

    Progressive Enhancement (Wikipedia)

    Progressive enhancement is a strategy
    for web design that emphasizes
    accessibility, semantic HTML markup,
    and external stylesheet and scripting
    technologies. Progressive enhancement
    uses web technologies in a layered
    fashion that allows everyone to access
    the basic content and functionality of
    a web page, using any browser or
    Internet connection, while also
    providing those with better bandwidth,
    more advanced browser software or more
    experience an enhanced version of the
    page.

    So yes, you should use a form.**

    ** if you care about progressive enhancement. As discussed in the comments for this answer, in your case, where you don’t / can’t care, it doesn’t matter. Use whatever element you like best.

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

Sidebar

Related Questions

I have a web application that allows a user to search on some criteria,
I have a web application that's branded according to the user that's currently logged
When creating a web application, and lets say you have a User object denoting
I have a web application with users and their documents. Each user can have
I have a situation where in a web application a user may need a
We have an existing publicly accessible web application with user controls, data access libraries,
Currently I have an application that receives an uploaded file from my web application.
I'm writing a web application that will have plugins. The plugins will be .DLL
I have developed a web application that processes credit card payments and when a
I have a web application that uses jQuery to load some sound effect on

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.