Skip to Content
MOBILE HTML5學習手冊
book

MOBILE HTML5學習手冊

by Estelle Weyl
June 2014
Intermediate to advanced
488 pages
9h 56m
Chinese
GoTop Information, Inc.
Content preview from MOBILE HTML5學習手冊
升級為 HTML5
|
47
2-4 Google 搜尋結果顯示的 <meta> 說明標籤內容
keyword 中繼標籤
在所有
<meta>
標籤中,
"keyword"
是最有名的一個,但是在上個世紀中,垃圾郵件散布
者會濫用
"keyword"
中繼標籤,因此搜尋引擎會將它的內容的價值低估。你可以任意加
keyword 中繼資料,但不要過度期待它可以影響搜尋引擎的結果:
<meta name="keyword" content="CSS3, HTML5, JavaScript">
<meta http-equiv=". . .">
<meta>
元素的
name
屬性相當自由,但
http-equiv
屬性則不然。
http-equiv
屬性的值
會模仿 HTTP 回應標頭,如果你用
http-equiv
屬性來取代
name
,它會替代伺服器產
生的HTTP 回應訊息標頭。我在
http://www.standardista.com/html5/http-equiv-the-meta-
attribute-explained/
製作一個
http-equiv <meta>
標籤值的清單。如果你可以在伺服器上
存取
.htaccess
檔,請用它來設定你的標頭。使用
<meta>
標籤來設定標頭應該是最後的手
段,而不是主要的方法:
<meta http-equiv="cache-control" content="no-cache" />
行動中繼標籤
有一些
<meta>
標籤是特別為行動設備設計的,它們會讓瀏覽器佔用整個檢視區並取消縮
放功能,或改變狀態列顏色,這部分將在下一節討論。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JAVASCRIPT網頁應用程式設計

JAVASCRIPT網頁應用程式設計

Alex MacCaw

Publisher Resources

ISBN: 9789863471240