RSS

Posts in 2021

  • Most votes on http questions 2

    May 01, 2021 in FAQ

    Most votes on http questions 2. #11 application/x-www-form-urlencoded or multipart/form-data? #12 Android 8: Cleartext HTTP traffic not permitted #13 SOAP vs REST (differences) #14 Custom HTTP headers : naming conventions #15 Access-Control-Allow-Origin Multiple Origin Domains? #16 How is an HTTP POST request made in node.js? #17 Detecting request type in PHP (GET, POST, PUT or DELETE) #18 HTTP response code for POST when resource already exists #19 What's the difference between a POST and a PUT HTTP REQUEST? #20 How to download a file over HTTP?

    Read all the top votes questions and answers in a single page. #11: application/x-www-form-urlencoded or multipart/form-data? (Score: 1431) Created: 2010-10-24 Tags: http, post, http-headers In HTTP there are two ways to POST data: …

    Read more

  • Most votes on http questions 10

    May 01, 2021 in FAQ

    Most votes on http questions 10. #91 What is the difference between URI, URL and URN? #92 Is either GET or POST more secure than the other? #93 REST response code for invalid data #94 Does Java have a complete enum for HTTP response codes? #95 Send request to curl with post data sourced from a file #96 Adding header for HttpURLConnection #97 What is the size limit of a post request? #98 Node.js EACCES error when listening on most ports #99 What is Rack middleware? #100 What's the difference between "Request Payload" vs "Form Data" as seen in Chrome dev tools Network tab

    Read all the top votes questions and answers in a single page. #91: What is the difference between URI, URL and URN? (Score: 294) Created: 2011-02-06 Last updated: 2011-02-06 Tags: http, url, uri, urn What’s the difference between an URI, URL …

    Read more

  • Most votes on http questions 1

    May 01, 2021 in FAQ

    Most votes on http questions 1. #1 What is the difference between POST and PUT in HTTP? #2 The definitive guide to form-based website authentication #3 What is the maximum length of a URL in different browsers? #4 What is the difference between a URI, a URL and a URN? #5 What exactly is RESTful programming? #6 HTTP GET with request body #7 How to use java.net.URLConnection to fire and handle HTTP requests? #8 How do we control web page caching, across all browsers? #9 How are parameters sent in an HTTP POST request? #10 HTTP status code for update and delete?

    Read all the top votes questions and answers in a single page. #1: What is the difference between POST and PUT in HTTP? (Score: 5671) Created: 2009-03-10 Last updated: 2021-04-14 Tags: http, rest, post, put According to RFC 2616, § 9.5, POST is used …

    Read more

  • Most votes on html questions 9

    May 01, 2021 in FAQ

    Most votes on html questions 9. #81 WebSockets vs. Server-Sent events/EventSource #82 Is there a float input type in HTML5? #83 HTML text input allow only numeric input #84 Make body have 100% of the browser height #85 vertical-align with Bootstrap 3 #86 When is a CDATA section necessary within a script tag? #87 How to allow only numeric (0-9) in HTML inputbox using jQuery? #88 How to style a checkbox using CSS #89 How to get the data-id attribute? #90 Scroll to bottom of div?

    Read all the top votes questions and answers in a single page. #81: WebSockets vs. Server-Sent events/EventSource (Score: 951) Created: 2011-03-04 Last updated: 2020-01-22 Tags: html, browser, websocket, server-sent-events Both WebSockets and …

    Read more

  • Most votes on html questions 8

    May 01, 2021 in FAQ

    Most votes on html questions 8. #71 What is a clearfix? #72 How do you keep parents of floated elements from collapsing? #73 How to prevent buttons from submitting forms #74 Use jQuery to hide a DIV when the user clicks outside of it #75 What is the difference between <section> and <div>? #76 Tab space instead of multiple non-breaking spaces ("nbsp")? #77 How can I center text (horizontally and vertically) inside a div block? #78 Using HTML5/Canvas/JavaScript to take in-browser screenshots #79 How do I retrieve an HTML element's actual width and height? #80 Can I set subject/content of email using mailto:?

    Read all the top votes questions and answers in a single page. #71: What is a clearfix? (Score: 1043) Created: 2011-12-18 Last updated: 2016-09-12 Tags: html, css, layout, cross-browser, clearfix Recently I was looking through some website’s …

    Read more

  • Most votes on html questions 7

    May 01, 2021 in FAQ

    Most votes on html questions 7. #61 How to write a:hover in inline CSS? #62 How to clear the canvas for redrawing #63 Selecting element by data attribute with jQuery #64 How to overlay one div over another div #65 Can I hide the HTML5 number input’s spin box? #66 How to apply CSS to iframe? #67 How to create a checkbox with a clickable label? #68 Adding HTML entities using CSS content #69 How can I tell if a DOM element is visible in the current viewport? #70 Get the value in an input text box

    Read all the top votes questions and answers in a single page. #61: How to write a:hover in inline CSS? (Score: 1122) Created: 2009-06-23 Last updated: 2017-02-05 Tags: html, css, inline-styles I have a case where I must write inline CSS code, and I …

    Read more

  • Most votes on html questions 6

    May 01, 2021 in FAQ

    Most votes on html questions 6. #51 jQuery document.createElement equivalent? #52 Recommended way to embed PDF in HTML? #53 offsetting an html anchor to adjust for fixed header #54 How to align content of a div to the bottom #55 What is the purpose of the "role" attribute in HTML? #56 jQuery Get Selected Option From Dropdown #57 Open link in new tab or window #58 Maintain the aspect ratio of a div with CSS #59 Local Storage vs Cookies #60 How do I remove the space between inline/inline-block elements?

    Read all the top votes questions and answers in a single page. #51: jQuery document.createElement equivalent? (Score: 1292) Created: 2008-11-06 Last updated: 2016-01-22 Tags: javascript, jquery, html, dom, dhtml I’m refactoring some old …

    Read more

  • Most votes on html questions 5

    May 01, 2021 in FAQ

    Most votes on html questions 5. #41 What does <meta http-equiv="X-UA-Compatible" content="IE=edge"> do? #42 How do I style a <select> dropdown with only CSS? #43 Why don't self-closing script elements work? #44 Hide scroll bar, but while still being able to scroll #45 How do I reformat HTML code using Sublime Text 2? #46 How can I select an element by name with jQuery? #47 How to change the href for a hyperlink using jQuery #48 How do I vertically align text in a div? #49 Check if checkbox is checked with jQuery #50 What characters can be used for up/down triangle (arrow without stem) for display in HTML?

    Read all the top votes questions and answers in a single page. #41: What does <meta http-equiv="X-UA-Compatible" content="IE=edge"> do? (Score: 1539) Created: 2011-07-21 Last updated: 2019-11-08 Tags: html, …

    Read more

  • Most votes on html questions 4

    May 01, 2021 in FAQ

    Most votes on html questions 4. #31 How do I make a placeholder for a 'select' box? #32 How Can I add HTML And CSS Into PDF #33 Redirect from an HTML page #34 How can I set the default value for an HTML <select> element? #35 Where should I put <script> tags in HTML markup? #36 Creating a div element in jQuery #37 <meta charset="utf-8"> vs <meta http-equiv="Content-Type"> #38 Pure JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it #39 What does enctype='multipart/form-data' mean? #40 What does <meta http-equiv="X-UA-Compatible" content="IE=edge"> do?

    Read all the top votes questions and answers in a single page. #31: How do I make a placeholder for a 'select' box? (Score: 1701) Created: 2011-04-27 Last updated: 2019-09-01 Tags: html, css, html-select, placeholder I’m using placeholders for …

    Read more

  • Most votes on html questions 3

    May 01, 2021 in FAQ

    Most votes on html questions 3. #21 How to create an HTML button that acts like a link #22 Get the size of the screen, current web page and browser window #23 What are valid values for the id attribute in HTML? #24 Vertically align text next to an image? #25 Retrieve the position (X,Y) of an HTML element relative to the browser window #26 How to align checkboxes and their labels consistently cross-browsers #27 How to move an element into another element? #28 How do I auto-resize an image to fit a 'div' container? #29 <button> vs. <input type="button" />. Which to use? #30 RegEx match open tags except XHTML self-contained tags

    Read all the top votes questions and answers in a single page. #21: How to create an HTML button that acts like a link (Score: 2178) Created: 2010-05-25 Last updated: 2021-04-21 Tags: html, button, hyperlink, anchor I would like to create an HTML …

    Read more