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
44
votes
5 answers

How to display the request sent time and the response received time in Fiddler?

I'm working with Fiddler Web Debugger tool version 4.4.4.8. I've made a request to e.g. www.google.com and fiddler shows that a request is sent and the response is received. How could I know about and display when the request was sent and when the…
The Light
  • 26,341
  • 62
  • 176
  • 258
43
votes
11 answers

Web Service vs Web Application

I know this is an old question and must have been answered hundred times already, but I am not able to find a satisfactory response as yet. I am creating an application which will be used by other applications (mobile/ web) to fetch the data. Now I…
Kamal
  • 5,462
  • 8
  • 45
  • 58
43
votes
4 answers

Email thumbnail URL changed to googleusercontent.com in gmail

I have a system whenever user upload an image, it will send an email to the registered user's gmail. But in the email, i see something like this, the thumbnail is not viewable. I inspect on the element, and found the src linked to this…
hades
  • 4,294
  • 9
  • 46
  • 71
43
votes
4 answers

What is javascript runtime..?

As per the definition mentioned on https://nodejs.org/ Node.js is a platform built on Chrome's JavaScript run-time for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it…
Yamini
  • 523
  • 1
  • 5
  • 7
43
votes
4 answers

Why use Tornado and Flask together?

As far as I can tell Tornado is a server and a framework in one. It seems to me that using Flask and Tornado together is like adding another abstraction layer (more overhead). Why do people use Flask and Tornado together, what are the advantages?
3k-
  • 2,467
  • 2
  • 23
  • 24
42
votes
4 answers

Why do we need disabled="disabled"?

It seems to be common consensus that for XHTML attributes which do not require any value, we should repeat the attribute name. E.g. in correct XHTML is . However, we can get the HTML element to be…
NorvayHais
  • 601
  • 1
  • 7
  • 10
42
votes
6 answers

Progressive Web App - Service Worker not serving start_URL

Was playing around with the progressive web app. I've trying to make web app install banner working but I keep receiving service worker does not successfully serve the manifest's start_url after I debugging using Lighthouse (Picture below).…
azriebakri
  • 1,131
  • 2
  • 11
  • 36
42
votes
14 answers

Spring boot + thymeleaf in IntelliJ: cannot resolve vars

I'm writing a short web form application using spring boot and thymeleaf on IntelliJ, but it seems that in the html file, all fields in the model cannot be resolved. Here is my code: Controller class: @Controller public class IndexController{ …
Shuhan Liu
  • 425
  • 1
  • 4
  • 5
42
votes
1 answer

Measure full page size in Chrome DevTools

I've been googling for some time but haven't found any clear solution for this. I want to measure full webpage weight / size (all document + scripts + fonts + styles etc.). I know the network tab in the devtools has size/content - but I want to have…
42
votes
5 answers

Difference between "maxlength" & "size" attribute in html?

I am little bit confused about the difference between the maxlength and the size attribute. I know that maxlength is used to control the input data. So what is the reason for using both…
Hashan
  • 656
  • 1
  • 8
  • 20
42
votes
3 answers

Simple example for why Same Origin Policy is needed

I've read about Same Origin Policy, but for a better understanding of the matter: could anyone please write a simple code (in any language) that will demonstrate an attack that SOP stops? How was it possible to attack someone before SOP came about?
Yotam
  • 9,789
  • 13
  • 47
  • 68
41
votes
3 answers

Firebase Hosting - password protect website?

I have just deployed a website to Firebase hosting and it works great - setup was super easy. My question is, however, is there any way I can make accessing the website limited by authentication? It's an admin panel that only my team should be able…
ryangineer
  • 499
  • 1
  • 4
  • 9
41
votes
4 answers

Angular 2 Errors and Typescript - how to debug?

I've just started a project to learn Angular2 and Typescript+Javascript. I come from a Java background and my approach to debugging projects is usually a combination of stack traces, compile errors, and - on larger projects - lots of test cases.…
Micheal Hill
  • 1,619
  • 2
  • 17
  • 38
41
votes
6 answers

What is the difference between the 'www' folder and 'htdocs' folder?

After I installed Apache on my web server there was created a folder called www. Whatever files like HTML and PHP files I put there it will be on my website. However, I followed one of the tutorial on YouTube and also even my own XAMPP folder has a…
Bernard
  • 4,240
  • 18
  • 55
  • 88
41
votes
8 answers

Using Sphinx to write personal websites and blogs

Sphinx is a Python library to generate nice documentation from a set of ReST formatted text files. I wonder if any one has written Sphinx plugins to make it generate personal websites and blogs. Especially for blogs, there needs to be a way to…
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187