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學習手冊
80
|
第三章
<summary>
元素必須是
<details>
元素的子元素,因為
<summary>
元素的文字節點提供父
元素
<details>
的內容的摘要、標題或圖片說明。在預設情況下,
<summary>
會顯示
open
是否被設定。當使用者點擊
<summary>
時,可以顯示及隱藏
<detail>
元素的其餘內容。
這種互動式功能是
<details>/<summary>
元素組合的預設行為,而且當瀏覽器支援它們
時,不需要任何 JavaScript
<details>
<summary>5 of 5 stars from three reviews</summary>
<ul>
<li>5 stars from Amazon</li>
<li>5 stars from Costco</li>
<li>5 stars from Barns &amp; Noble</li>
</ul>
</details>
當瀏覽器支援這段程式時,會隱藏
<details>
的內容(除了
<summary>
之外),因為它沒
有使用
open
屬性(預設會隱藏
<summary>
之外的一切事物)。當
<summary>
被按下時會
顯示其餘的內容。請勿將
<details>
的子元素
<summary>
<table>
元素的
summary
屬性
混淆,它是一個控制項,可切換
<details>
內容顯示與否(彷彿設定
display: none;
)。
<summary>
元素代表父元素
<details>
的摘要、標題或圖案說明。
因為
<summary>
是開啟與關閉 ...
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