Skip to content

Commit e2fe6e6

Browse files
committed
Integrate copyediting for Chapter 13
1 parent 6ed14c8 commit e2fe6e6

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

13_browser.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ A _network ((protocol))_ describes a style of communication over a
5858
for sharing files, and even for controlling computers that happen to be
5959
infected by malicious software.
6060

61-
{{indexsee "Hypertext Transfer Prototol", HTTP}}
61+
{{indexsee "Hypertext Transfer Protocol", HTTP}}
6262

63-
For example, the ((HTTP)) protocol (_Hypertext Transfer Protocol_) is
63+
For example, the _Hypertext Transfer Protocol_ (((HTTP))) is
6464
a protocol for retrieving named ((resource))s (chunks of information,
6565
such as web pages or pictures). It specifies that the side making the
6666
request should start with a line like this, naming the resource and
67-
the version of the protocol that it is trying to use.
67+
the version of the protocol that it is trying to use:
6868

6969
```{lang: "text/plain"}
7070
GET /index.html HTTP/1.1
@@ -125,8 +125,8 @@ that such pages can easily link to each other, thus connecting into a
125125
huge ((mesh)) that users can move through.
126126

127127
To become part of the Web, all you need to do is connect a machine to
128-
the ((Internet)), and have it listen on port 80 with the ((HTTP))
129-
protocol, so that other computers can ask it for documents.
128+
the ((Internet)) and have it listen on port 80 with the ((HTTP))
129+
protocol so that other computers can ask it for documents.
130130

131131
{{index URL}}
132132

@@ -249,14 +249,14 @@ even though they have a special meaning in HTML, yet another form of
249249
special notation has to be introduced. A plain opening angle bracket
250250
is written as `<` ("less than"), and a closing bracket is written
251251
as `>` ("greater than"). In HTML, an ampersand (`&`) character
252-
followed by a name or character code and a semicolon (`;`) is called an _((entity))_,
252+
followed by a name or character code and a semicolon (`;`) is called an _((entity))_
253253
and will be replaced by the character it encodes.
254254

255255
{{index "backslash character", "ampersand character", "double-quote character"}}
256256

257257
This is analogous to the way backslashes are used in JavaScript
258258
strings. Since this mechanism gives ampersand characters a special
259-
meaning, too, those need to be escaped as `&`. Inside attribute
259+
meaning, too, they need to be escaped as `&`. Inside attribute
260260
values, which are wrapped in double quotes, `"` can be used to
261261
insert an actual quote character.
262262

@@ -284,7 +284,7 @@ The following document will be treated just like the one shown previously:
284284
{{index "title (HTML tag)", "head (HTML tag)", "body (HTML tag)", "html (HTML tag)"}}
285285

286286
The `<html>`, `<head>`, and `<body>` tags are gone completely. The
287-
browser knows the `<meta>` and `<title>` belong in the head, and that
287+
browser knows that `<meta>` and `<title>` belong in the head and that
288288
`<h1>` means the body has started. Furthermore, I am no longer
289289
explicitly closing the paragraphs since opening a new paragraph or
290290
ending the document will close them implicitly. The quotes around the
@@ -328,8 +328,7 @@ little window, but only shows a message without asking for input.
328328
{{index "src attribute"}}
329329

330330
Including large programs directly in HTML documents is often
331-
impractical. The `<script>` tag can be given an `src` attribute in
332-
order to fetch a script file (a text file containing a JavaScript
331+
impractical. The `<script>` tag can be given an `src` attribute to fetch a script file (a text file containing a JavaScript
333332
program) from a URL.
334333

335334
```{lang: "text/html"}
@@ -393,7 +392,7 @@ web page it was embedded in.
393392
Isolating a programming environment in this way is called
394393
_((sandbox))ing_, the idea being that the program is harmlessly
395394
playing in a sandbox. But you should imagine this particular kind of
396-
sandbox as having a cage of thick steel bars over it, so that the
395+
sandbox as having a cage of thick steel bars over it so that the
397396
programs playing in it can't actually get out.
398397

399398
The hard part of sandboxing is allowing the programs enough room to be
@@ -417,7 +416,7 @@ government agency or ((mafia)).
417416
{{index Microsoft, "World Wide Web"}}
418417

419418
In the early stages of the Web, a browser called ((Mosaic)) dominated
420-
the market. After a few years, the balance had shifted to
419+
the market. After a few years, the balance shifted to
421420
((Netscape)), which was then, in turn, largely supplanted by
422421
Microsoft's ((Internet Explorer)). At any point where a single
423422
((browser)) was dominant, that browser's vendor would feel entitled to

0 commit comments

Comments
 (0)