B.id的应用方法:
C.class的应用方法:
D.id和class只是在写法上有区别,在应用和意义上没有区别
B.id的应用方法:
C.class的应用方法:
D.id和class只是在写法上有区别,在应用和意义上没有区别
A、<style rel="stylesheet" type="text/css" href="外部样式表地址"><br> B、<link rel="stylesheet" type="text/css" href="外部样式表地址" /><br> C、<style rel="stylesheet" type="text/css" link="外部样式表地址" /><br> D、<link rel="stylesheet" type="text/css" style="外部样式表地址" /><br><p class="answer"></p><br><br>12、( )样式表一般用于大型网站。<br> A、内嵌<br> B、链接外部<br> C、层叠<br> D、行内<br><p class="answer"></p><br><br>13、在HTML中,下面( )不属于HTML文档的基本组成部分。<br> A、<style></stytle><br> B、<body></body><br> C、<html></html><br> D、<head></head><br><p class="answer"></p><br><br>14、在HTML的<body>区域的某处有一段代码<table style=″color:red;font-size:10pt″>,此为( )。<br> A、行内样式表<br> B、内嵌式样式表<br> C、外部式样式表<br> D、动态式样式表<br><p class="answer"></p><br><br>15、下面选项中( )应用了行内样式。<br> A、<p class="style"><br> B、<p style="color : red;"><br> C、<p id="content"><br> D、<p class="style1 style2"><br><p class="answer"></p><br><br>16、下列代码段是某页面的样式设置: <style type="text/css"> .blue { color:blue } .red { color:red } </style> 现要求将页面中的第一个h1标题设置为红色,第一个段落设置为蓝色。下列代码正确的是( )。
A、< h1 id="red">第一个标题</h1><h1>
第一个段落
B、< h1 color:red>第一个标题
</h1><h1>
第一个段落
C、< h1 class="red">第一个标题
</h1><h1>
第一个段落
D、
</h1><h2 class="red">第一个标题</h2><h2> </h2><h1>第一个标题</h1><h1>
第一个段落
A. 此样式是一个类样式(Cllass)
B. 在一个HTML元素中被多次调用
C. 此样式是一个序列样式(ID)
D. 以上说法都错
请使用VC6或使用【答题】菜单打开考生文件夹progl下的工程progl,该工程中包含程序文件main. cpp,其中有Salary(“工资”)类和主函数main的定义。程序中位于每个“//ERROR ****found****”之后的一行语句行有错误,请加以改正。改正后程序的输出结果应为: 应发合计:3500应扣合计:67.5实发工资:3432.5 注意:只修改每个“//ERROR ****found****”下的那一行,不要改动程序中的其他内容。 include using namespace std; class Salary{ public: Salary(const char *id,double the_base,double the bonus,double the_tax) //ERROR **********found********** :the_base(base),the_bonus(bonus),the_tax(tax) { staff_id=new char[strlen(id)+1]; strcpy(staff_id,id); } //ERROR **********found********** ~Salary{delete * staff_id;} double getGmssPayconst{retum base+bonus;}//返回应发项合计 double getNetPayconst}retum getGmssPay-tax;}//返回实发工资额 private: char * staff id;//职工号 double base;//基本工资 double bonus;//奖金 double tax;//代扣个人所得税 }; int main{ Salary pay(”888888”,3000.0,500.0,67.50); cout$amp;
此题为判断题(对,错)。
请使用VC6或使用【答题】菜单打开考生文件夹projl下的工程projl。程序中位于每个“//ERROR****found料****之后的一行语句有错误,请加以改正。改正后程序的输出结果应为: Name:Smith Age:21 ID:99999 CourseNum:12 Record:970 注意:只修改每个“//ERROR****found****”下的那一行,不要改动程序中的其他内容。 include using namespace std; class Studentlnfo { protected: //ERROR********************found**************** char Name; int Age; int ID: int CourseNum; float Record; public: Studentlnfo(char*name,int Age,int ID,int coumeNum,float record); //ERROR ********************found******************** void~Studentlnfo{} float AverageRecord{ return Record/CourseNum; } void showconst{ cout$amp;
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!