题目内容 (请给出正确答案)
[单选题]

对以下代码功能描述正确的是: ul{list-style-type:none;}li{float:left;width:7em;padding:0.2em 0.6em;} Link one Link two Link three

A.使用百分比值设置图像的上边距5%。

B.使用像素值设置图像的底部边距为10px。

C.将列表排列成一行,创建水平菜单。

D.使用像素值设置图像的底部边距为20px。

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“对以下代码功能描述正确的是: ul{list-style-t…”相关的问题

第1题

list-style-type:square能够定义列表的项目符号为实心矩形。()
list-style-type:square能够定义列表的项目符号为实心矩形。()

点击查看答案

第2题

如何能够定义列表的项目符号为实心矩形()。

A.list-type:square

B.type:2

C.type:square

D.list-style-type:square

点击查看答案

第3题

阅读以下说明和Visual Basic代码,将应填入(n)处的字句写在对应栏内。

【说明】

在一些应用场合中,需要对用户的输入数据进行检查监控。以下VisualBasic程序实现了对新添加到 List列表的内容进行监控,拒绝向List列表添加重复信息。例如,在List列表中存在元素“a01001;a01002”,如果用户输入数据为“a01001”或“a01002”,系统则弹出提示信息,拒绝将新数据加入List列表;如果用户输入的数据不同于List列表中的任何一个元素,则作为新元素加入List中。VisualBasic界面显示如图所示。根据程序功能说明,完成程序代码。

【代码5-1】

Begin VB.Form. Forml

Caption = "List 列表拒绝添加重复信息"

//...窗体描述(略)

Begin VB.CommandButton Command2

Caption = "退出"

//...窗体描述(略)

End

Begin VB.CommandButton Commandl

Caption = "添加"

//...窗体描述(略)

End

Begin VB.TextBox Text1

//...窗体描述(略)

End

Begin VB.ListBox List1

Height = 1860

ItemData = "Form1.fix": 0000

Left = 1020

List = "Form1.fix": 0002

TabIndex = 0

Top = 525

Width = 2580

End

Begin VB.Labe1 Labe11

BackStyle = 0 'Transparent

Caption = "请输入编号"

//...窗体描述(略)

End

End

【代码5-2】

Attribute VB Name = "Form1"

Attribute VB_GlobalNameSpace = False

Attribute VB Creatable = False

Attribute VB PredeclaredId = True

Attribute VB_Exposed = False

Private Sub Form. Load ()

List1.AddItem "a01001"

List1.AddItem "a01002"

End Sub

Private Sub Cormnand1 Click ()

Dim Myval As Long

For i=0 To (1)

(2)

If (3) Then

MsgBox "系统不允许重复输入,请重新输入"

Exit Sub

End If

(4)

(5)

End Sub

点击查看答案

第4题

如果想导入一个style.css文件到页面中,以下代码正确的是?()
A.〈link href="style.css" type="css" /〉

B.〈link href="style.css" type="text/css" /〉

C.〈link href="style.css" rel="text/css" /〉

D.〈link href="style.css" type="text/css" rel="stylesheet" /〉

点击查看答案

第5题

以下哪个是CSS的滤镜名?()A.text-transformB.list-styleC.gray
以下哪个是CSS的滤镜名?()

A.text-transform

B.list-style

C.gray

点击查看答案

第6题

在CSS语言中下列哪一项是"列表样式图象"的语法()。

A.width:

B.height:

C.white-space:

D.list-style-image:

点击查看答案

第7题

请根据网页显示的效果图(见图6-3)和网页中的元素说明回答问题。

以下是网页部分源代码,请填写______ 处的空格。

<html>

<head>

(1)

<meta. http-equiv="Content-Type" content="text/html; charset=gb2312">

<link hrel="./inc/style.css" rel="stylesheet" type="text/css">

<style. type="text/css"><!-- body { margin-left: Opx; margin-top: Opx; margin-right: Opx; margin-bottom: Opx;}

.style1 { font-family: Arial, Helvetica, sans-serif; color: FFFFFF; }

.style2 {color: FFFFFF}

--></style>

</head>

<body>

<br>

<table width="700" height="420" border="0" align="center" cellpadding="0"cellspacing="1" bgoolor="dddddd">

<tr>

<td valign="top"><table width="700" height="420" border="0" cellpading="0" cellspacing="0" bgcolor="ffff">

<tr>

<td valign="top"><table width="700" border="0" cellpadding="5" cellspacing="0" bgcolor="f1f1f1">

<tr><td>欢迎使用员工管理系统</td></tr>

</table>

<table width="700" height="80" border="0" cellpadding="0" cellspacing="0">

<tr>

<td><(2)="./images/logotitle. gif" width="700" height="80"></td>

</tr>

</table>

<table width="700" height="38" border="0" cellpadding="0" cellspacing="0" background="./images/bg_link.gif">

<tr><td> </td></tr>

</table>

<table width="700" border="0" cellspacing="0" cellpadding="0">

<tr>

<td height="280"><IMG height="80" src="./images/logo. gif" width="389"></td>

<td valigr="bottom">

<form. method="post" name="Form. 1"(3)="login. asp">

<table width="300" border="0" cellspacing ="0" cellpadding="3">

<tr>

<td>用户名称: </td>

<td><input name="uid" maxlength="14" size="14" ></td>

<td>&nisp;</td>

<td> </td>

</tr>

<tr>

<td>用户密码: </td>

<td><input type="(4)"name="pwd" maxlength="6" size="14"></td>

<td> </td>

<td><input type="(5)"border="0" height="20" src="./images/login.gif" width:"54"></td>

</tr>

(6)

点击查看答案

第8题

在index.asp文档中使用了<style. type="text/css">语句。其中,CSS是指(10),它是一种(11)样式描述格式,能保证文档显示格式的一致性和较好的格式化。CSS本身(12)XML的语法规范。

(10) A.扩展样式单 B.层叠样式单

(11) A.静态的 B.动态的

(12) A.遵从 B.不遵从

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信