/    Sign up×
Community /Pin to ProfileBookmark

Dissecting The Meta Tag

Just would like to throw this out here, and have you HTMl sharks take it appart.

I mean what do the different parts of this mean.Maybe one person at a time could tackle it.Id just like to see what peoples perspective on this is.

Heres the item in question:
[COLOR=Blue]<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>[/COLOR]For staters whats the following portion of it mean:

[COLOR=Red]http-equiv=[/COLOR]

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@RUNEMASTERauthorSep 21.2005 — Ok I just answered it.This is good for newbys to see.

For example, the following <meta> tag defines the content

type of the document as HTML with the Latin character set (ISO-8859-1):

[COLOR=DarkOrange]<meta http-equiv=“Content-Type” content=“text/html; charset=ISO-8859-1”>[/COLOR]
Copy linkTweet thisAlerts:
@CharlesSep 21.2005 — As a part of HyperText Transfer Protocol, HTTP, servers generate information about each page. This information is called the "response headers" and for this page they look like Transfer-Encoding: chunked
Date: Wed, 21 Sep 2005 23:45:57 GMT
Server: Apache
Expires: 0
Cache-Control: private, post-check=0, pre-check=0, max-age=0
Pragma: no-cache
--------------: -----
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1

200 OK
Your browser can request just the headers so it can decide if its cached version is still good. And your browser uses the headers to tell what the character encoding is. The page cannot be rendered without knowing the chatacter encoding. Now [i]some[/i] browsers pre-parse HTML files looking for that "http-equiv". When they find one they use the value of the "content" attribute to set or override the HTTP header. And [i]some[/i] browsers might do something like that on the other end.
Copy linkTweet thisAlerts:
@RUNEMASTERauthorSep 22.2005 — Wow! I get it.Thanks for going to the depths.HEhe! Very impressive .

Guess I better get around to studying HyperText Transfer Protocol a bit some time.
Copy linkTweet thisAlerts:
@CharlesSep 22.2005 — Wow! I get it.Thanks for going to the depths.HEhe! Very impressive .

Guess I better get around to studying HyperText Transfer Protocol a bit some time.[/QUOTE]
No need, really. It all happens behind the scenes without any worry on your part. ON the other hand, do read, mark, learn and inwardly digest the document at http://www.w3.org/TR/html401/ .
×

Success!

Help @RUNEMASTER spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...