Questions tagged [web]

Do not use this tag. For questions related to an aspect of the world wide web, use a more specific tag for it, such as [uri], [html], [http] or [w3c].

The World Wide Web (abbreviated as WWW or W3, and commonly known as "the Web") is a technology that connects various kinds of systems with interlinked hypertext documents accessed using networking protocols.

The credit of inventing the World Wide Web goes to many researchers, but it was Tim Berners-Lee also known as TimBL who not only proposed the idea of WWW (at CERN in 1989) but also gave his full contribution in development of 3 very significant technologies:

  1. Invention of URL (Universal Resource Locator) and URI (Universal Resource Identifier).
  2. HyperText Markup Language (HTML)
  3. HTTP (HyperText Transfer Protocol), a protocol for transferring HTML

The World Wide Web is an interconnected network which works as a bridge not only between two terminal ends (Web browser & Web server) but also to connect client machines to database servers with controlled access.

With a Web browser (client), one can view web pages that may contain text, images, videos, and other multimedia, and navigate between them via hyperlinks. The default port for requests and responses via HTTP protocol is port 80.

A web server, on other hand, receives the client's requests and generates the proper response for it. This includes an HTTP status code (like 200 Ok or 404 Not Found), a list of HTTP headers (which control things like response format and cookies), and the response body (like HTML content).

47790 questions
64
votes
1 answer

C# .Net How to Encode URL space with %20 instead of +

How to encode query string space with %20 instead of + ? Because System.Web HttpUtility.UrlEncode() gives the space with +.
Sharath Kumar K J
  • 733
  • 1
  • 6
  • 11
64
votes
10 answers

CORS in .NET Core

I am trying to enable CORS in .NET Core in this way: public IConfigurationRoot Configuration { get; } public void ConfigureServices(IServiceCollection services) { services.AddCors(options => options.AddPolicy("AllowAll", p =>…
David
  • 1,275
  • 2
  • 17
  • 27
64
votes
9 answers

HTML input type="number" still returning a string when accessed from javascript

I'm new to javascript , I'm trying learning how functions etc in JS and trying to add 2 numbers JS ADD

Funcitons is JS

Sainath S.R
  • 3,074
  • 9
  • 41
  • 72
63
votes
7 answers

One big javascript file or multiple smaller files?

Ok, so I have a reasonable size project, where I'm using jquery backbone and a couple of other javascript libraries. I was wondering if I should have one file for my javascript libraries and another for my custom code. Or a bunch of separate…
Jason Silberman
  • 2,471
  • 6
  • 29
  • 47
62
votes
8 answers

Laravel - Blade comments , blade rendering causing page to crash

I'm rendering a page that is primarily a form with view::make in Laravel and it is crashing, causing ERR_CONNECTION_RESET. After a long investigation and many red herrings, I started erasing (not commenting) random sections out of the blade file for…
z0d14c
  • 1,122
  • 1
  • 12
  • 20
62
votes
5 answers

HTML5: How to make a form submit, after pressing ENTER at any of the text inputs?

The title speaks for itself... I have a couple of forms, one of them is just a single text input form and the other one is composed by two text inputs. I do not want any submit button in any of them, I want each form to submit whenever the user…
charliebrownie
  • 5,777
  • 10
  • 35
  • 55
61
votes
8 answers

Docker-compose hangs on Attaching to

I have an issue when running docker-compose up. It hangs on attaching to and I cannot access my web app on localhost:4200. docker-compose.yml: version: '2' # specify docker-compose version # Define the services/containers to be run services: …
PerlMonk92
  • 619
  • 1
  • 5
  • 4
59
votes
5 answers

How to access the subdomain of an IP address in the browser?

To get to the IP address of an example website, you just visit subdomain.example.com However, if I try to visit subdomain.2.1.33.111 (example ip) Firefox returns an error. Why?
user3236661
  • 702
  • 1
  • 6
  • 12
58
votes
13 answers

Can't fix: 'og:image' property should be explicitly provided, even if a value can be inferred from other tags

I have a website that triggers a warning when clicked through a link shared on Facebook. The warning says: Possible problem with this link We have detected that this link: http://www.example.online/ may be malicious. To keep your account and device…
Kevin Bright
  • 961
  • 2
  • 9
  • 17
58
votes
2 answers

How to obtain values of parameters of get request in flask?

The answer that I found on the web is to use request.args.get. However, I cannot manage it to work. I have the following simple example: from flask import Flask app = Flask(__name__) @app.route("/hello") def hello(): print request.args['x'] …
Roman
  • 124,451
  • 167
  • 349
  • 456
57
votes
1 answer

What does "app.run(host='0.0.0.0') " mean in Flask

I am reading the Flask documentation. I was told that with app.run(host='0.0.0.0'), I could make the server publicly available. What does it mean ? How can I visit the server in another computer (just localhost:5000 in my own computer) ?
Ding
  • 579
  • 1
  • 4
  • 4
56
votes
14 answers

How do I cache bust imported modules in es6?

ES6 modules allows us to create a single point of entry like so: // main.js import foo from 'foo'; foo() foo.js will be stored in the browser cache. This is desirable until I push a new…
spinners
  • 2,449
  • 3
  • 23
  • 34
53
votes
8 answers

How to make ng-bind-html compile angularjs code

I am working with angularjs 1.2.0-rc.3. I'd like to include html code into a template dynamically. For that I use in the controller : html = "
hello
"; $scope.unicTabContent = $sce.trustAsHtml(html); In the template I got :
Clement Roblot
  • 879
  • 2
  • 8
  • 15
52
votes
5 answers

How can I get a post excerpt in Jekyll?

I'm creating a new blog using Jekyll. On the main page, there will be a list of my 10 most recent posts. The entries on this list will include a title, the post date, and an excerpt, most likely the first paragraph. I'm only familiar with using…
corazza
  • 31,222
  • 37
  • 115
  • 186
52
votes
5 answers

set-cookie header not working

I'm developing a small site w/ Go and I'm trying to set a cookie from my server. I'm running the server on localhost, with 127.0.0.1 aliased to subdomain-dev.domain.com on port 5080. My When I receive the response for my POST to…
Chris Pfohl
  • 18,220
  • 9
  • 68
  • 111
1
2 3
99 100