A: <a href="url" new>
B: <a href="url" target="_blank">
C: <a href="url" target="window">
D: <a href="url" target="new">
举一反三
- 以下哪个语句可以实现在新窗口打开链接。 A: <a href="url" target="new"> B: <a href="url" target="_blank"> C: <a href="url" new> D: 另外三个答案都不正确。
- 如何设置链接目标才能每次都在新窗口打开链接页面? A: <a href="url" new>首页</a> B: <a href="url" target="_blank">首页</a> C: <a href="url" target="new">首页</a> D: <a href="url" target="self">首页</a>
- 超级链接的基础语法是:() A: <a goto="URL"></a> B: <a herf="URL"></a> C: <a link="URL"></a> D: <a href="URL"></a>
- 下面哪种写法可以链接到百度网页? A: <a href="百度">百度</a> B: <a href="baidu.com" target="new">百度</a> C: <a href="http://baidu.com" target="new">百度</a> D: <a href="hhtp://www.baidu.com" target="new">百度</a>
- 对于HTML页面,在a开始标签中匹配href属性内容的最合理的正则表达式是什么?假设href属性内容使用双引号包围,需要将匹配内容放到第一个匹配组中。 A: <a href="([^"]*)"[^>*]> B: (?is)<as[^>*]href="([^"]*)"[^>*]> C: <as[^>*]href="([^"]*)"[^>*]> D: <as[^>*]href="([^"]*)">
内容
- 0
下列的 HTML 中,可以产生超链接的是______。 A: < a href="http:// www.kmust.edu.cn " >昆明理工大学< /a > B: < a url="http://www.kmust.edu.cn" >昆明理工大学< /a > C: < a >http:// www.kmust.edu.cn < /a > D: < a name="http:// www.kmust.edu.cn " >昆明理工大学< /a >
- 1
如何制作电子邮件链接()。 A: <a href="xxx@yyy"> B: <mail href="xxx@yyy"> C: <a href="mailto:xxx@yyy"> D: <mail>xxx@yyy</mail>
- 2
在HTML文件中导入一个样式表的正确语法为___________ A: <link src="c.css" rel="stylesheet" type="text/css"> B: <input href="c.css" rel="stylesheet" type="text/css"> C: <import href="c.css" rel="stylesheet" type="text/css"> D: <link href="c.css" rel="stylesheet" type="text/css">
- 3
在XML文档中加入样式单处理指令,下面语法正确的是( )。 A: <xml-stylesheet type="text/css" href="stylesheetURL" > B: <?xml-stylesheet type="text/css" href="stylesheetURL" ?> C: <?xml-stylesheet type="text/css" href="stylesheetURL" > D: <?xml-stylesheet type="text/css" href="stylesheetURL" />
- 4
下列的 HTML中,哪个()可以产生超链接? A: <a url="https://www.jb51.net">脚本之家</a> B: <a href=" https://www.jb51.net ">脚本之家</a> C: <a>http:// https://www.jb51.net </a> D: <a name=" https://www.jb51.net "> www.jb51.net </a>