HTML字元實體與超連結

來源:互聯網
上載者:User

標籤:web

<!--------字元實體與超連結------>

<!-----在HTML中某些字元是預留的。如“<”號,“>”號會被認為是標籤>-->

<html>
<head>
<title>ceshi</title>
<body>
1,若我們想顯示著作權符號<br/>
copyright&nbsp;<font size="5">&copy;</font>&nbsp;2004-2014 www.huameng.com.cn All Rights Reserved.
<br/>
<br/>
2,比大小<br/>
如果a&nbsp;&lt;&nbsp;b<br/>
則b比a大
<br/>
如果b&nbsp;&gt;&nbsp;a<br/>
則b比a大<br/>
<br/>
<font size="3" color="#FF0000">注意:實體符號對大小寫敏感</font>
</body>
</head>
</html>


預覽

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/58/8A/wKiom1Szks6DY2wQAADN6faLAF0752.jpg" title="QQ20150112172358.png" alt="wKiom1Szks6DY2wQAADN6faLAF0752.jpg" />


超連結

<html>
<head>
<title>ceshi</title>
<body>
<p><br/>
  連結到網路上某個資源<br/>
  <a href="http://www.baidu.com">連結到百度</a>
  <br/><br/>
  連結到本地某個資源<br/>
  <a href="http://192.168.154.136/iwebmall">連結到iwebmall商城</a><br/><br/>
  連結到同目錄下的某個資源<br/>
  <a /href="index.php">連結到apache的預設網頁</a><br/>
  <br/>啟用郵箱<br/>
  <a /href="mailto:[email protected]">聯絡管理員</a>
</p>
<p>&nbsp;</p>
</body>
</head>
</html>


頁面


650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/87/wKioL1SzmZewbpNoAAD1xDS5SnM035.jpg" title="QQ20150112175014.png" alt="wKioL1SzmZewbpNoAAD1xDS5SnM035.jpg" />


連結測試


650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/58/87/wKioL1SzmifhB6W-AAD1gh56tyM380.jpg" style="float:none;" title="QQ20150112175122.png" alt="wKioL1SzmifhB6W-AAD1gh56tyM380.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/58/8B/wKiom1SzmWCis3KhAAF8rjGc4-4783.jpg" style="float:none;" title="QQ20150112175135.png" alt="wKiom1SzmWCis3KhAAF8rjGc4-4783.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/87/wKioL1Szmiix9bQIAAIAMQmkUfk318.jpg" style="float:none;" title="QQ20150112175223.png" alt="wKioL1Szmiix9bQIAAIAMQmkUfk318.jpg" />

 


連結測試成功


END !

本文出自 “百折不回” 部落格,請務必保留此出處http://changbo.blog.51cto.com/1316452/1602590

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.