html結構內容拾憶

來源:互聯網
上載者:User

標籤:style   blog   http   color   io   os   使用   ar   strong   

文字格式設定化:

1 <b>This text is bold</b><!--定義粗體文本。-->2 <strong>This text is strong</strong><!-定義加重語氣。-->3 <big>This text is big</big><!-定義大號字。-->4 <em>This text is emphasized</em><!-定義著重文字。-->5 <i>This text is italic</i><!-定義斜體字。-->6 <small>This text is small</small><!-定義小號字。-->7 This text contains<sub>subscript</sub><!-定義下標字。-->8 This text contains<sup>superscript</sup><!-定義上標字。-->

This text is bold 
This text is strong 
This text is big 
This text is emphasized 
This text is italic 
This text is small 
This text contains subscript 
This text contains superscript

<p>一打有 <del>二十</del> <ins>十二</ins> 件。</p><!--一同使用,來描述文檔中的更新和修正。定義刪除字和插入字。大多數瀏覽器會改寫為刪除文本和底線文本。一些老式的瀏覽器會把刪除文本和底線文本顯示為普通文本。-->

一打有 二十 十二 件。

電腦輸出標籤

 

<pre>for i = 1 to 10     print inext i</pre><!--pre 標籤很適合顯示電腦代碼-->

 

for i = 1 to 10     print inext i
<code>Computer code</code><!--定義電腦代碼。--><kbd>Keyboard input</kbd><!--定義鍵盤碼。--><tt>Teletype text</tt><!--定義打字機代碼。--><samp>Sample text</samp><!--定義電腦代碼樣本。--><var>Computer variable</var><!--定義變數。-->

Computer code 
Keyboard input 
Teletype text 
Sample text 
Computer variable 

注釋:這些標籤常用於顯示電腦/編程代碼。

引用、引用和術語定義

The <abbr title="People‘s Republic of China">PRC</abbr> was founded in 1949.<!--定義縮寫。使用全域的 title 屬性,這樣就能夠在滑鼠指標移動到 <abbr> 元素上時顯示出簡稱/縮寫的完整版本。--><acronym title="World Wide Web">WWW</acronym><!--定義首字母縮寫。--><address>Written by <a href="mailto:[email protected]">Donald Duck</a>.<br> Visit us at:<br>Example.com<br>Box 564, Disneyland<br>USA</address><!--定義文檔或文章的作者/擁有者的聯絡資訊。不應該用於描述郵寄地址,除非它是聯絡資訊的一部分。--><bdo dir="rtl">Here is some text</bdo><!--定義文字方向。--><blockquote cite="http://www.wwf.org">WWF‘s ultimate goal is to build a future where people live in harmony with nature.</blockquote><!--定義長的引用。cite規定引用的來源。主流瀏覽器均不支援 cite 屬性。不過,搜尋引擎可能會使用該屬性獲得更多有關引用的資訊。--><p>Here comes a short quotation: <q>This is a short quotation</q></p><!--定義短的引用語。--><cite><!--定義引用。可使用該標籤對參考文獻的引用進行定義,比如書籍或雜誌的標題。-->


PRC was founded in 1949.
WWW
Written by Donald Duck.(點擊進入email)
Visit us at:
Example.com
Box 564, Disneyland
USA
txet werbeH emos si ereH
  WWF‘s ultimate goal is to build a future where people live in harmony with nature.
Here comes a short quotation: "This is a short quotation"

========================

 

html結構內容拾憶

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.