How to make Form element horizontal grouped button using jQuery Mobile ? Last Updated : 20 Dec, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be making Form element horizontal grouped button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your project. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"/> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> Example 1: HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" /> <script src= "http://code.jquery.com/jquery-1.11.1.min.js"> </script> <script src= "http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"> </script> </head> <body> <center> <h1>GeeksforGeeks</h1> <h4> Form element Horizontal grouped button using jQuery Mobile </h4> </center> <div data-role="controlgroup" data-type="horizontal"> <button id="gfg" data-role="button" data-icon="plus">plus </button> <button id="gfg" data-role="button" data-icon="minus">minus </button> <button id="gfg" data-role="button" data-icon="star">star </button> </div> </body> </html> Output: Example 2: HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" /> <script src= "http://code.jquery.com/jquery-1.11.1.min.js"> </script> <script src= "http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"> </script> </head> <body> <center> <h1>GeeksforGeeks</h1> <h4> Form element Horizontal grouped button using jQuery Mobile </h4> </center> <div data-role="controlgroup" data-type="horizontal"> <a href="https://www.geeksforgeeks.org/" data-role="button" data-icon="plus"> plus </a> <a href="https://www.geeksforgeeks.org/" data-role="button" data-icon="minus"> minus </a> <a href="https://www.geeksforgeeks.org/" data-role="button" data-icon="star"> star </a> </div> </body> </html> Output: Comment More infoAdvertise with us Next Article How to make Form element Inline button using jQuery Mobile ? T taran910 Follow Improve Article Tags : JQuery jQuery-Mobile Similar Reads How to make Mini Form element horizontal grouped button using jQuery Mobile ? jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be making Mini Form element horizontal grouped button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your projec 1 min read How to make Themed Form element horizontal grouped button using jQuery Mobile ? jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be making Themed Form element horizontal grouped button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your proj 1 min read How to make Form element button using jQuery Mobile ? jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will be making Form element button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your project. <link rel="styles 1 min read How to make Form element Inline button using jQuery Mobile ? jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will be making Form element Inline button using jQuery Mobile. Approach: First, add jQuery Mobile scripts needed for your project. <link rel= 1 min read How to make a Horizontal group Radio Button using jQuery Mobile ? jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be creating a Horizontal group Radio Button using jQuery Mobile. Approach: Add jQuery Mobile scripts needed for your project. <link rel=â 1 min read How to make Horizontal Radio button controlgroups using jQuery Mobile? To create horizontal radio button control groups using jQuery Mobile, utilize the data-type="horizontal" attribute. This configuration arranges radio buttons horizontally instead of vertically, enhancing the layout and user interaction of forms in web applications. ApproachCSS and jQuery CDN are lin 2 min read Like