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
37
votes
6 answers

Domain doesn't work without `www`

When I type in my domain name like without the www (like http://example.com), it doesn't work and gives error message. However, when I add the www to it (like http://www.example.com), it works. Isn't it supposed to work both ways (with and without…
Digital site
  • 4,431
  • 12
  • 48
  • 72
36
votes
2 answers

Horizontal listview not scrolling on web but scrolling on mobile

After flutter 2.5 update listview is scrolling only on mobile platforms. It doesn't scroll when I open it on the web. It was working fine in the previous version. I tried the scroll physics but it didn't work. what do you suggest i do? sorry for my…
beynelmilel
  • 373
  • 1
  • 3
  • 5
36
votes
7 answers

known services to validate csv file

Are there any good sites/services to validate consistency of CSV file ? The same as W3C validator but for CSV ? Thanks!
Scherbius.com
  • 3,396
  • 4
  • 24
  • 44
36
votes
1 answer

What's the difference between Model.id and Model.pk in django?

I saw the django documents use both sometimes? Are they identical? What's the difference and where is the reference? I only see documentation of pk. BTW, does django reference cover all the methods of its classes?
dspjm
  • 5,473
  • 6
  • 41
  • 62
36
votes
4 answers

Why CSRF token should be in meta tag and in cookie?

What's the need of to put CSRF token name and value inside tag using like: e.g: I've read about…
Vin.AI
  • 2,369
  • 2
  • 19
  • 40
36
votes
13 answers

beautiful websites using Emacs's org mode

Are there any beautiful websites published using Emacs' org mode? I followed the online tutorial, but the generated websites are too ugly. Are there any existing beautiful org templates (with nice css sheets)?
bobzhang
  • 1,771
  • 3
  • 17
  • 19
35
votes
12 answers

Angular 8 viewChild returns undefined

I am trying to access the childView instance but it keeps saying the the childView is undefined. Here is my code for childViews: @ViewChild(CreateQuestionnaireComponent,{ read: true, static: false }) private…
Nesan Mano
  • 1,892
  • 2
  • 26
  • 43
35
votes
1 answer

What is happening when I have two CSP (Content Security Policies) policies - header & meta?

Question is regarding having CSP served twice: What's the behavior if there is one policy served through the Content-Security-Policy HTTP response header and also another policy specified with the element? Will those two be merged somehow?…
Jurosh
  • 6,984
  • 7
  • 40
  • 51
35
votes
3 answers

CSS 1px border stroke breaks around border radius

This is for web dev. When using a 1px border radius on a circle or a square with really rounded corners, the stroke starts to break. If we were to change it to 2px's it would get better and better the more px we add. But is there a way to fix this…
user2605157
  • 579
  • 3
  • 8
  • 13
35
votes
8 answers

Print barcodes from web page to Zebra printer

We're trying to print barcodes from a web page to our Zebra printer. I'm wondering if there's a way to print them using the printer's own font perhaps using web fonts or if I knew the font name used? I have been trying to use php barcode generators,…
user1447134
  • 497
  • 1
  • 5
  • 8
34
votes
10 answers

Module not found: Error: Package path . is not exported from package

import firebase from 'firebase' const firebaseConfig = { apiKey: "AIzaSyBOK7x5N5UnjY4TDqndzH7l5tvdNIsWFRc", authDomain: "todo-app-e3cf0.firebaseapp.com", projectId: "todo-app-e3cf0", storageBucket: "todo-app-e3cf0.appspot.com", …
Sairam S
  • 347
  • 1
  • 3
  • 4
34
votes
7 answers

Serve Images in Next-Gen Formats

My ranking from Google Page Speed insights is being severely penalised because of: "Serve Images in Next-Gen Formats" more info on Google's help page here. However, according to this, this and this those formats are supported very few browsers. What…
Peter Crawfie
  • 341
  • 1
  • 3
  • 3
34
votes
8 answers

What is the point of www in web urls?

I've been trying to collect analytics for my website and realized that Google analytics was not setup to capture data for visitors to www.example.com (it was only setup for example.com). I noticed that many sites will redirect me to www.example.com…
davekaro
  • 6,233
  • 4
  • 28
  • 22
34
votes
6 answers

Forcing SSL and WWW using .htaccess

I would like to know if this code in .htaccess for forcing SSL and WWW in URL is correct, because with another codes I usually get redirect loop, e.g. RewriteCond %{HTTPS} !=on and now it works like a charm (suspiciously). Also, is possible to write…
user2406937
  • 637
  • 2
  • 7
  • 11
34
votes
2 answers

How is using Synchronizer Token Pattern to prevent CSRF safe?

I have been reading about using a synchronizer token pattern to prevent CSRF (CSRF meaning Cross-site request forgery.), and I don't understand how it actually safe. Let's say I have a fake bank site fakebank.com with two…
Juliet
  • 1,040
  • 3
  • 11
  • 18