【单选题】【消耗次数:1】
在HTML里只要涉及到文件的地方(如超级链接、图片等)就会用到绝对路径与相对路径的知识。关于绝对路径和相对路径,以下说法错误的是:
绝对路径是包含域名的完整地址
绝对路径在页面移动目录时,里面的链接可能也需要变动
相对路径不包含域名
在正确解析URL的前提下,绝对路径和相对路径本身对排名没有影响
参考答案:
复制
纠错
相关题目
【简答题】 简述什么是绝对路径及相对路径。
【单选题】 关于绝对路径的使用,以下说法错误的是( )。
①  A.使用绝对路径的链接不能链接本站点的文件,要链接本站点文件只能使用相对路径
②  B.绝对路径是指包括服务器规范在内的完全路径,通常使用http:// 来表示
③  C.绝对路径不管源文件在什么位置都可以非常精确地找到
④  D.如果希望链接其它站点上的内容,就必须使用绝对路径
【单选题】 关于绝对路径的使用,以下说法错误的是( )。
①  A. 绝对路径是指包括服务器规范在内的完全路径,通常使用http:// 来表示
②  B. 绝对路径不管源文件在什么位置都可以非常精确地找到
③  C. 如果希望链接其它站点上的内容,就必须使用绝对路径
④  D. 使用绝对路径的链接不能链接本站点的文件,要链接本站点文件只能使用相对路径
【单选题】 下列属于超级链接绝对路径的是( )
①  http://www.wangjx.com/wjx/index.htm
②  wjx/index.htm
③  ../wjx /index.htm
④  /index.htm
【单选题】 关于绝对路径的使用,下列说法错误的是( )。
①  A.绝对路径是指包括服务器规范在内的完全路径
②  B.绝对路径不管源文件在什么位置都可以非常精确地找到
③  C.如果希望连接其他站点上的内容,就必须使用绝对路径
④  D.使用绝对路径的链接不能链接本站点的文件
【单选题】 下列路径中属于绝对路径的是________?。
①  address.htm
②  staff/telephone.htm
③  http://www.sohu.com/index.htm
④  /Xuesheng/chengji/mingci.htm
【多选题】 关于相对路径,以下说法正确的有()。
①  相对路径表述的是源端点同目标端点之间的相互位置
②  如果在链接中源端点和目标端点位于一个目录下,则链接路径中只需要指明目标端点的文档名称即可
③  如果在链接中源端点和目标端点不在同一个目录下,就无法使用相对路径
④  如果在链接中源端点和目标端点不在同一个目录下,就需要将目录的相对关系也表示出来
【单选题】 下面选项表示绝对路径的是( )。
①  www.sina.com.cn
②  ftp://219.153.40.150/software/
③  ../a.html
④  /a.html
【判断题】 相对路径是提供链接目标端点所需的完整URL地址。
①  正确
②  错误
【单选题】 下列选项表示相对路径的是( )。
①  images/tu.gif
②  ftp://219.11.65.123
③  /root
④  http://www.baidu.com
随机题目
【单选题】 By the end of last month, she _____ over five hundred letters of congratulation from different parts of the world.
①  would received
②  has received
③  had received
④  receive
【单选题】 -- Im taking my driving test tomorrow.-- _________ !
①  Cheers
②  Congratulations
③  Come on
④  Good luck
【单选题】 In order to _______ your goals, you must work hard.
①  make
②  achieve
③  require
④  develop
【单选题】 _______ the English examination, I would have gone to the concert last Sunday.
①  In spite of
②  But for
③  Because of
④  As for
【单选题】 By the time he was twelve, Edison____ to make a living by himself.
①  would begin
②  has begun
③  had begun
④  was begun
【单选题】 The popular singer who had been praised very highly____ to be a great disappointment.
①  turned in
②  turned out
③  turned up
④  turned down
【单选题】 Mary realized she ____ .
①  is made fun of
②  was making fun of
③  was being made fun of
④  is being made fun of
【单选题】 We often get _______ when people cut in line.
①  annoying
②  annoyed
③  to annoy
④  annoy
【单选题】 _______ the bad storm Tom delivered the newspapers on time.
①  In favor of
②  In spite of
③  In front of
④  In charge of
【单选题】 One of my ____ sentences is: there is no smoke without fire.
①  faithful
②  favorite
③  favorable
④  famous