9.6 开课第三天(标签:常用标签)

               1、<a>

                         (1)超链接

常用标签                               {1}超链接内容

                          (2)条件

                                          {2}指向明确   在href属性里面写上指向的地方


 

                                          {1}做超链接

                          (3)功能                   href指向文件

                                          {2}做下载                            文本文档           

                                                           什么文件不下载     网页文件

                                                                                    图片


 

                                                        做锚点  <a name=""></a>             

                                          {3}做锚点

                                                        跳转到锚点位置<a href="#">回到顶部</a>


           2、<img/>

                        (1)src图片的路径

                         (2)width 图片的宽度

                         (3)height 图片的高度

                         (4) alt  提示文字

                         (5)title  图片的标题,鼠标放上显示


           3、图片超链接   把超链接的文字换成图片

 

posted @ 2016-09-06 10:01  带你疯  阅读(123)  评论(0编辑  收藏  举报