2011-02-14 72 views
0

嘿這裏是門考試的一個問題,我發現了一個有點混亂:關於HTML能力

HTML (Hyper Text Markup Language) has language elements which permit 
certain actions other than describing the structure of the web document. Which 
one of the following actions is NOT supported by pure HTML (without any server 
or client side scripting) pages? 
(A) Embed web objects from different sites into the same page 
(B) Refresh the page automatically after a specified interval 
(C) Automatically redirect to another page upon download 
(D) Display the client time as part of the page 

我認爲這是C或D.但不能肯定。

在此先感謝。

+0

D (可以重定向到另一頁這個頁面) – abmv 2011-02-14 06:43:23

+0

@abmv那是B. – phihag 2011-02-14 06:46:02

回答

3

A)這就是<object>元素的用途。

B)古代<meta http-equiv="refresh">標籤。 C)如果「下載時」意味着下載完成,那顯然是不可能的。另外,如果沒有JavaScript,任何地方瀏覽的唯一方法是表單提交按鈕和鏈接,這兩種方法都不能用於導航到兩個目標。但是,您可以鏈接到使用<meta http-equiv="refresh" content="0;url=download.binary" />(或帶有下載源的0x0- )構造的頁面來實現此目的。 D)如果沒有JavaScript,顯然是不可能的 - 當你發送你的回覆時你根本不知道用戶的時間。