码迷,mamicode.com
首页 > Web开发 > 详细

指向其他网站的链接

时间:2018-07-21 15:07:02      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:file   rev   tac   prope   meta   html   tle   doctype   tomat   

网页中的链接是通过<a>元素建立的<a>元素拥有一个重要的特性----href,href特性的值设定了链接的目标。

<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>TODO write content</div>
        <p>movie Reviewws:
        <ul>
            <li><a href="http://www.empireonline.com">Empire</a></li>
            <li><a href="http://www.empireonline.com">Metacritic</a></li>
            <li><a href="thhp://www.rottentomatoes.com">Rtten tomatoes</a></li>
            <li><a href="thhp://www.variety.com">Variety</a></li>
        </ul>
        </p>
    </body>
</html>

  

指向其他网站的链接

标签:file   rev   tac   prope   meta   html   tle   doctype   tomat   

原文地址:https://www.cnblogs.com/q2546/p/9345864.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!