【简答题】【消耗次数:1】
简述什么是绝对路径及相对路径。
参考答案:
复制
纠错
相关题目
【单选题】 在HTML里只要涉及到文件的地方(如超级链接、图片等)就会用到绝对路径与相对路径的知识。关于绝对路径和相对路径,以下说法错误的是:
①  绝对路径是包含域名的完整地址
②  绝对路径在页面移动目录时,里面的链接可能也需要变动
③  相对路径不包含域名
④  在正确解析URL的前提下,绝对路径和相对路径本身对排名没有影响
【单选题】 下列路径中属于绝对路径的是________?。
①  address.htm
②  staff/telephone.htm
③  http://www.sohu.com/index.htm
④  /Xuesheng/chengji/mingci.htm
【单选题】 关于绝对路径的使用,以下说法错误的是( )。
①  A.使用绝对路径的链接不能链接本站点的文件,要链接本站点文件只能使用相对路径
②  B.绝对路径是指包括服务器规范在内的完全路径,通常使用http:// 来表示
③  C.绝对路径不管源文件在什么位置都可以非常精确地找到
④  D.如果希望链接其它站点上的内容,就必须使用绝对路径
【单选题】 关于绝对路径的使用,以下说法错误的是( )。
①  A. 绝对路径是指包括服务器规范在内的完全路径,通常使用http:// 来表示
②  B. 绝对路径不管源文件在什么位置都可以非常精确地找到
③  C. 如果希望链接其它站点上的内容,就必须使用绝对路径
④  D. 使用绝对路径的链接不能链接本站点的文件,要链接本站点文件只能使用相对路径
【单选题】 关于绝对路径的使用,下列说法错误的是( )。
①  A.绝对路径是指包括服务器规范在内的完全路径
②  B.绝对路径不管源文件在什么位置都可以非常精确地找到
③  C.如果希望连接其他站点上的内容,就必须使用绝对路径
④  D.使用绝对路径的链接不能链接本站点的文件
【单选题】 下面选项表示绝对路径的是( )。
①  www.sina.com.cn
②  ftp://219.153.40.150/software/
③  ../a.html
④  /a.html
【多选题】 关于相对路径,以下说法正确的有()。
①  相对路径表述的是源端点同目标端点之间的相互位置
②  如果在链接中源端点和目标端点位于一个目录下,则链接路径中只需要指明目标端点的文档名称即可
③  如果在链接中源端点和目标端点不在同一个目录下,就无法使用相对路径
④  如果在链接中源端点和目标端点不在同一个目录下,就需要将目录的相对关系也表示出来
【单选题】 下列选项表示相对路径的是( )。
①  images/tu.gif
②  ftp://219.11.65.123
③  /root
④  http://www.baidu.com
【单选题】 下列属于超级链接绝对路径的是( )
①  http://www.wangjx.com/wjx/index.htm
②  wjx/index.htm
③  ../wjx /index.htm
④  /index.htm
【判断题】 相对路径是提供链接目标端点所需的完整URL地址。
①  正确
②  错误
随机题目
【判断题】 判断线上的内容是否正确:Mother who takes care of everybody is usually the most ___considerate___ person in each family.
①  正确
②  错误
【单选题】 He unbuttoned his shirt to _______ a big scar on his chest.
①  adapt
②  react
③  review
④  reveal
【单选题】 The American Red Cross is one of the volunteer organizations _______ purpose is to help the sick and the needy.
①  its
②  that
③  who
④  whose
【单选题】 Hi, is Mary there, please?_________
①  Hold on. I’ll get her.
②  No, she isn’t here.
③  Yes, she lives here.
④  Yes, what do you want?
【单选题】 He didn’t pass the final examination. He ______ it.
①  must have prepared for
②  ought to prepare
③  ought to have prepared for
④  ought to prepare to
【单选题】 Andy, ____________ ?Oh, that’s my father! And beside him, my mother.
①  What is the person over there
②  Who’s talking over there
③  What are they doing
④  Which is that
【单选题】 Davids mother was unstable and _______ .
①  windy
②  moody
③  speedy
④  handy
【单选题】 The planes have to _______ strict safety checks.
①  encounter
②  undergo
③  evaluate
④  wonder
【单选题】 _______ Tom ________ Mary can help me, for they are very busy.
①  Either;or
②  Neither;nor
③  Both;and
④  whether;or
【单选题】 it has been revealed that some government leaders _____ their authority and position to getillegal profits for themselves.
①  employ
②  take
③  abuse
④  overlook