m 元素表示文本被 “加上標(biāo)志”,但是不一定要強調(diào)??梢园阉胂癯蓵型怀鲲@示的一節(jié)。google 的緩存頁面就是典型的用例。如果鏈接到一個緩存的副本,搜索詞就被加上標(biāo)志。例如,如果搜索 “egret”,那么緩存的 google 頁面可能像下面這樣:
the great <m>egret</m> (also known as the american <m>egret</m>) is a large white wading bird found worldwide. the great <m>egret</m> flies with slow wing beats. the scientific name of the great <m>egret</m> is <i>casmerodius albus</i>.
對于這個元素的名稱當(dāng)前還有爭議。在規(guī)范發(fā)布之前,它可能從 m 改為 mark。
time
time 元素表示一個時間值,比如 5:35 p.m., est, april 23, 2007。例如:
<p>i am writing this example at <time>5:35 p.m. on april 23rd</time>. </p>
time 元素可以幫助瀏覽器和其他程序識別出 html 頁面中的時間。它不要求對元素內(nèi)容應(yīng)用任何特定的格式。但是,每個 time 元素都應(yīng)該有一個 datetime 屬性,其中包含更適合機器識別的時間值,比如:
<p>i am writing this example at <time datetime="2007-04-23t17:35:00-05:00">5:35 p.m. on april 23rd</time>. </p>
適合機器讀取的時間值可能對搜索引擎、日歷程序等有幫助。
meter
meter 元素表示指定范圍內(nèi)的數(shù)字值。例如,可以用它表示薪水、投票給 le pen 的法國選民的百分比或考試分?jǐn)?shù)。在這里,我使用 meter 標(biāo)出 software development 2007 上一位 google 程序員提供的數(shù)據(jù):
<p>an entry level programmer in silicon valley can expect to start around <meter>$90,000</meter> per year. </p>
meter 元素幫助瀏覽器和其他客戶機識別 html 頁面中的數(shù)量。它不要求對元素內(nèi)容應(yīng)用任何特定的格式。但是,每個 meter 元素可以有最多 6 個屬性,它們按照更適合機器識別的形式表示這個數(shù)量: value min low high max optimum 這些屬性都應(yīng)該包含一個十進制數(shù)字。例如,期末考試的分?jǐn)?shù)可以寫成下面這樣: