优秀的编程知识分享平台

网站首页 > 技术文章 正文

计算机二级Web(3):HTML语言基础(习题)

nanyue 2024-09-12 16:02:38 技术文章 10 ℃

1. HTML是一种标记语言,它是由(C)解释执行的

A.不需要解释

B.Windows

C.浏览器

D.标记语言处理软件

2.在HTML文档中用于表示页面标题的标记对是(D)

A. <head></head>

B. <header></header>

C. <caption> </caption>

D. <title></title>

3.在HTML文档中用于表示表格的标记对是(C)

A. <head></head>

B.<header></header>

C. <table></table>

D.<caption></caption>

4.在HTML文档中使用的注释符号是(C )。

A. //...

B. /* ....*/

C.<! --.......-->

D.以上都不是

5.为了标识一个HTML文件,应该使用的HTML标记是(C )。

A. <p></p>

B. <head></head>

C. <html></html>

D.<form></form>

6.在下列的HTML中,最大的标题是(D)

A. <h6>

B. <head>

C.<heading>

D.<h1>

7.在HTML中要定义一一个书签,应该使用的语句是(B ) 。

A. <a href="#object_01">text</a>

B. <a name="object _01">text</a>

C. <a target="#object_01">text</a>

D. <a link="#object_ 01" >text</a>

8. 如果要在表单中创建一个普通文本框,下列标记中正确的是( A )。

A. <input type="text" >

B. <input type ="password" >

C. <input type="checkbox" >

D. <input type ="radio" >

9. 下列标记中不属于行内元素的是( D)。

A. <em>

B. <font>

C. <input>

D. <div>

10.下列标记中可以产生粗体字的HTML标记是( C)。

A. <bold>

B. <bb>

C. <b>

D. <i>

11.在下列的HTML中,正确产生超链接的标记是(B)。

A. <a url="http://www. sina. com. cn">新浪网</a>

B. <a href="http://www. sina. com. cn">新浪网</a>

C. <a>http://www. sina. com. cn</a>

D. <a name=" http://www. sina. com. cn" >新浪网</a>

12.以下语句中,正确制作电子邮件链接的是(C)。

A. <a href="xxx@ yyy">

B. <mail href="xxx@ yyy" >

C. <a href="mailto:xxx@ yyy">

D. <mail>xxx@ yyy</ mail>

13.以下选项中,全部都是表格标记的是( B )。

A. <table> <head><tfoot>

B. <table><tr><td>

C. <table><tr><tt>

D. <thead> <body><tr>

14.下列语句中,能产生带有数字列表符号的列表标记是(C)。

A. <ul>

B. <dl>

C. <ol>

D. <list>

15.在下列选项中,正确地产生文本区( textarea)的标记是(A ) 。

A . <textarea>

B. <input type =”textarea" >

C. <input type =”textbox" >

D. <input type="text:">

计算机二级Web(3):HTML语言基础 (下)

计算机二级Web(3):HTML语言基础 (上)

Tags:

最近发表
标签列表