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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:31:33+00:00 2026-05-28T14:31:33+00:00

How can one encode query parameters of a URL which is displayed as a

  • 0

How can one encode query parameters of a URL which is displayed as a hyperlink.

Example of such a hyperlink:

<a href="http://site/page.html?param1=value1&param2=value2">MyPage</a>

I want so use only html capabilities to do this.

I can partially accomplish this with an html form using http get method but then I cant see the hyperlink and instead have to use a submit button(which I dont want to use):

<form method="get" action="http://site/page.html"> MyPage
 <input type="hidden" name="param1" value="value1"/>
 <input type="hidden" name="param2" value="value2"/>
 <input type="submit" />
</form>

Note that values of query parameters are rendered dynamically and can therfore contain special characters which must be encoded before sending them to the web server through http get method.

Can this be done using just HTML without need for introducing code at server-side encoding ?

  • 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-28T14:31:34+00:00Added an answer on May 28, 2026 at 2:31 pm

    You can style a button to look like a hyperlink:

    input.LinkButton {
        border: none;
        padding: 0;
        background: transparent;
        color: blue;
        text-decoration: underline;
        display: inline;
        cursor: pointer;
    }
    

    You’ll probably also want :hover and :active styles.

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

Sidebar

Related Questions

How can one remove all text, but leave the structure intact? for example: <animals>
I'm following a simple ajax>php>mysql example posted here http://openenergymonitor.org/emon/node/107 I can only display information
I have two URLs with parameters http://localhost:8041/Reforge.aspx?name=CyanГ http://localhost:8041/Reforge.aspx?name=Cyanì In first URL Firefox encodes last
I am trying to pass a string via HTTP request which has one of
I have a query string parameter that is passed from one page to another.
HTTP Post may have multiple params such as: http://example.com/controller/ (while params=({'country':'US'},{'city':'NYC'}) I am developing
Can one specify XML attribute values as CDATA ? If yes - what would
Can one place an arbitrary program (firefox, openoffice, etc...) in a QX11EmbedContainer? The fllowing
Can one of you smarties point me to some beginner content for converting an
Can one upload files to a domain other than the domain a script originates

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.