SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Feb 2004
    Posts
    291
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    button-elment and link

    Hi.

    Is it possible to add a link (href) to a button element (<button>)?

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I s'pose you could put a URL in the form action and have the page submitted without any other form processing occurring but buttons look like buttons for a reason - people expect something other than being transferred to a new page to happen. If you make a button just a link, people will get confused as to what's s'posed to happen.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •