刷刷题-logo
logo - 刷刷题
大学职业技能刷题工具
下载APP
【单选题】
Some of her ________ functions have been impaired.
A.
cognition
B.
cognitive
C.
cognizance
D.
cognizant
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三
Which of the following is true about css syntax? ( )
A.
.box[color:red,background:yellow]
B.
.box{color:red;background:yellow}
C.
.box{color:red,background:yellow}
D.
.box[color,red;background:yellow]
Which of the following statements is true about style introduction? ( )
A.
Inline style is to set style attribute for elements, which only takes effect for the current tag.
B.
The internal style is to set the style attribute for the element.
C.
The rel attribute in the link tag is used to set the path of the external css file.
D.
@import belongs to html tag.
Which of the following statements about class and id selectors is incorrect? ( )
A.
Class selector is defined by .Class name {style}.
B.
The application method of id selector is <tag_name id="id name">.
C.
The application method of class selector is <tag_name class="class name">.
D.
The id selector and the class selector are only different in writing, and there is no difference in application and meaning.
Which of the following statements about id selector is incorrect? ( )
A.
The syntax format of id selector is "#id name".
B.
If you want to use the id selector, you should first define an id attribute value for the element, such as: <div id="a"></div>.
C.
# selector is more suitable for defining class styles.
D.
An id name can only correspond to a specific element object of a document.
What are the several ways to introduce css?____________ __________
What are the correct statements about link and import? ( )
A.
Import styles are used in the <head> tag as follows: <style>@import url("");</style>.
B.
When the page is loaded, the CSS referenced by link will not be loaded at the same time.
C.
CSS referenced by @import will not be loaded until all pages are downloaded.
D.
Pages that refer to CSS in the way of @import will appear unstyled flicker when loading.
Comments in css begin with_______,and end with___________.
Which of the following statements about floating is wrong? ( )
A.
The floating of elements is horizontal, which means that elements can only move left and right, but not up and down.
B.
Floating is very useful in web page layout.
C.
Elements before floating element will also be affected.
D.
The text element after the floating element will surround it.
In css, when you choose to use the id selector, the style name should be preceded by an indicator_________.
Which statement about style priority is incorrect? ( )
A.
Css styles directly defined on tags have the highest level.
B.
Internal styles have lower priority than inline styles.
C.
External style sheets have the lowest level.
D.
When the attributes in the style conflict, the preset comes into effect.
The round dot before the unordered list item <li> can be removed by ( ) .
A.
clear:both;
B.
font-style:none;
C.
list-style:none;
D.
list-style:normal;
(Multiple-choice question) In css, what are the common methods to clear floating? ( )
A.
Add an empty block element afterthefloating element.
B.
Add an empty line element after the floating element.
C.
Set the height of the parent element of the floating element.
D.
Set to clear floating by means of pseudo class.
E.
Set floating for parent elementof the floating element.
(Multiple-choice question)Which options are right about floating element characteristics?
A.
Floating element is separated from the document flow.
B.
The float:top willset the element to float upwards.
C.
After the line element is set to float, the line element will automatically turn into a block element.
D.
Floating elements can not hold up the block that contains it.
Selectors commonly used in css includeid selector(1), class selector(2) and tag selector(3), and their priority is_______ _____.
About the characteristics of floating elements, which of the following statements is wrong? ( )
A.
If the width of the container box is less than the sum of the widths of all floating elements, the floating elements will wrap. At this time, if the heights of the floating elements are different, a blank block will appear.
B.
Floating elements occupy the original space.
C.
The text will surround the floating element when the floating element is with the text.
D.
Floating can only float left and right, not up and down.
Which option is wrong about float? ( )
A.
float:left
B.
float:center
C.
float:right
D.
float:none
After the line element floats, it ­­­_________ (will/will not) become a block element.
Which of the following is not a floating element characteristic? ( )
A.
Floating elements will be automatically set to block elements for display.
B.
A floating element is in the same position in the vertical direction as when it is not defined as floating.
C.
The floating element is horizontal, and it will be as close as possible to the edge of its parent element.
D.
Block elements will not drill under floating elements and will not be covered by floating elements.
Which of the following does not belong to the padding attribute? ( )
A.
padding-left
B.
padding-head
C.
padding-bottom
D.
padding-right
The correct statement about padding:20px 30px 40px is ( ).
A.
paddings: 20px space up, 30px space down, 40px space left and right
B.
paddings: 20px space up, 40px space down, 30px space left and right
C.
margins: 20px space up, 30px space down, 40px space left and right
D.
margins: 20px space up, 40px space down, 30px space left and right
How to calculate the actual width of standard box model? ( )
A.
width
B.
left and right paddings + width
C.
left and right margins + left and right paddings + width + left and right borders
D.
left and right borders + left and right paddings + width
Which of the following is not an attribute for setting border? ( )
A.
border-style
B.
border-width
C.
border-color
D.
border-size
The correct statement about border of box is ( ).
A.
The border-stylerepresentsthe thickness of the border.
B.
The border:10px solid red; represents a red dotted border with a thickness of 10px.
C.
The border:10px red; represents a red border with a thickness of 10px.
D.
The border-bottom:10px dashed green; representsthe thickness of the bottom border is 10px and it is a dotted green line.
float<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>float</title> <style> .about{ width: 500px; } .about img{ float:left; width:200px; } <...
A.
Text overlays on picture.
B.
Text is on the top, and picture is on the bottom.
C.
Picture is on the left, and text is arranged on the right.
D.
Picture is on the left, and text surrounds the picture.
In css, if the border is not displayed, which of the following statements is correct? ( )
A.
Set border:0px solid blue;
B.
Set border-color:transparent;
C.
Set border:none;
D.
Set border:1px solid transparent;
The up and down margins of block elements are 20px, and ____________ is used for aligning centerhorizontally.
How to abbreviate the following code?border-width:1px;border-color:#000;border-style:solid;Abbreviated as:_______
Which of the following can't be used for making text bold? ( )
A.
Use <b></b> tags in html
B.
Use <strong></strong> tags in html
C.
Use font-weight: bold in CSS
D.
Use font-style: strong in CSS
In html, which of the following statements about font attributes in css styles is true? ( )
A.
The font-size is used to set the size of the text font.
B.
The font-family is used to set the alignment of text.
C.
The font-style is used to set the font of text.
D.
The text-decoration is used to set the font shape of text.
The picture above shows a div block with a border of 1px, with total width of 215px (including border) and the shaded area is padding-left:25px; , then the width of this div should be set to _________...
To set the text style of the p tag with class name "box" in the div tag to: the text is centered, the first line is indented 2em, the font size is 20px and the line height is 30px.Which of the followi...
A.
.box .p{ line-height: 30px; font-indent: 2em; text-align: center; font-size: 20px; }
B.
.box p{ line-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }
C.
.box .p{ line-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }
D.
.box p{ text-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }
In css, the background image needs to be located in the lower left corner of the box. The codes should be written as: ( )
A.
background-image:left foot
B.
background-image:left bottom
C.
background-position:left foot
D.
background-position:left bottom
Which of the following descriptions of the css codes is correct? ( ).box p{ font: 60 italic 20px/80px 'arial'; }
A.
The first element 60 in the font attribute represents the font size.
B.
These elements in the font attribute can be transposed at will.
C.
The last element 'arial' in the font attribute can be omitted without writing.
D.
The 80px in the font attribute indicates the line height of the text in the p tag, which can be omitted.
To set the background image of a webpage as "bg.jpg", which of the following is correct? ( )
A.
<body background-image="bg.jpg">
B.
<body background="bg.jpg">
C.
<body image="bg.jpg">
D.
<body background-color="bg.jpg">
In css, what is the incorrect description about the following background code? ( ).box { background:url("../image/author-1.jpg") no-repeat center/50% red;}
A.
The above code indicates that the background color is red, the image is centered, the size is 50%, and the image is not repeated.
B.
If no-repeat is deleted, the image will not repeat.
C.
If the element url("../image/author-1.jpg") is deleted, a red background will be displayed.
D.
If no-repeat is changed to repeat-x, the image is horizontally repeated.
In CSS style, the meaning of background-position:-10px 20px is ( ).
A.
The background image is shifted to the right by 10px and upward by 20px.
B.
The background image is shifted to the right by 10px and downward by 20px.
C.
The background image is shifted to the left by 10px and upward by 20px.
D.
The background image is shifted to the left by 10px and downward by 20px.
The following css style codes:<style><!--body{ background-image:url("bg1.jpg"); background-repeat:repeat-y; }--></style>The function of the codes is _________________.
Regarding the following css codes, which of following is incorrect? ( )<p style="border : 1px solid red;font-size: 10px; background-color: green">
A.
The background color of the paragraph is red.
B.
The border size of the paragraph is 1px.
C.
The font size of the paragraph is 10px.
D.
The border color of the paragraph is red.
The css statement used to insert the background image (image path and name is "/img/") into the webpage and tile it is: div{ _________________ ; background-repeat:repeat; }
In css, we use ( ) to set the stacking order of elements, by default, its value is ( ).
A.
z-index 0
B.
x-index 0
C.
z-index 1
D.
x-index 1
Which of the following statements about relative position is incorrect? ( )
A.
Relative position means moving relative to the element itself.
B.
After moving the relative position element, the original space occupied by it will not change.
C.
Only after setting the relative position, top, left, right, bottom, and z-index will take effect.
D.
We can useposition:relative to set the relative position of the html element.
Which of the following statements about absolute position is correct? ( )
A.
You can useposition:fixedto set absolute position.
B.
The location of an absolute position element is relative to its parent element.
C.
The location of an absolute position element may be relative to <html>.
D.
Absolute position makes the element occupy the original space.
Which of the following items does not belong to the position attribute? ( )
A.
relative
B.
absolute
C.
fixed
D.
auto
In css, to align the box vertically with the center of the page, please fill in the blank space, which option is correct? ( ).box{ position: ; top:0; bottom:0; left:0; right:0; margin: ; width: 300px...
A.
absolute 50%
B.
absolute auto
C.
relative 50%
D.
relative auto
Which of the following statements about fixed position element is wrong? ( )
A.
The elementposition relative to the browser window is fixed.
B.
Fixed position element cannot overlap with other elements.
C.
Fixed position makes the position of the element independent of the document flow.
D.
Fixed position makes the element occupy no space.
In css, to align box vertically with the center of the page, please fill in the following blank code space..box{ position: ______ ; left:50%; top:50%; margin-left:_______; margin-top:_______; width: 3...
To center a layer in the middle of the browser, how to set? ( )
A.
padding: 50% 50%
B.
magin: 50% 50%
C.
magin: 0 auto
D.
None of the above is correct.
In the following statements, which one sets the title of the HTML page to "HTML Exercise"? ( )
A.
<head>HTML practice</head>
B.
<title>HTML practice</title>B.<span style="white-space: pre;"> </span><title> HTML practice</title>B.<span style="white-space: pre;"> </span><title> HTML practice</title>HTML practice
C.
<h1>HTML practice</h1>
D.
<t>HTML practice</t>
The following code uses the ID attribute of an HTML element to apply a style to a paragraph on a web page:<p id="firstp">This is the first paragraph</p>Which of the following definitions o...
A.
<style type="text/css">p {color:red}</style>
B.
<style type="text/css">*firstp {color:red}</style>
C.
<style type="text/css">.firstp {color:red}</style>
D.
<style type="text/css">#firstp {color:red}</style>
(Multiple-choice question) There is a stylesheet document named sheet1.css, and now we intend to apply the styles defined in this stylesheet document to the current page. Which of the following method...
A.
Insert the following code into the <head> section of the web page:<style type= "text/css">@import url('sheet1.css');</style>
B.
Insert the following code into the <head> section of the web page:<link rel="stylesheet" type="text/css" href="sheet1.css">
C.
Insert the following code into the <head> section of the web page:<style type="text/css"><link rel="stylesheet" type="text/css" href="sheet1.css"></style>
D.
The stylesheet document is referenced in the style attribute of each element to be styled with sheet1.css.
In web pages, ( ) is usually used to complete gender selection.
A.
check box
B.
text box
C.
password box
D.
radio button
Which of the following options applies inline style? ( )
A.
<p class="style">
B.
<p style="color: red;">
C.
<p id="content">
D.
<p class="style1 style2">
To create a multiline text input box in the form, the initial value oftext input box is "this is a multiline text box". Which of the following statements is correct? ( )
A.
<textarea name="text1" value="this is a multiline text box"></textarea>
B.
<input type= "text" value="this is a multiline text box" name="text1">
C.
<input type= "textarea" name="text1" value="this is a multiline text">
D.
<textarea name="text1" cols=20 rows=5>this is a multiline text box</textarea>
The following code snippet is a part of the style settings of a web page:<style type="text/css">.blue { color:blue }.red { color:red }</style>Now it is required to set the first h1 heading...
A.
<h1 id="red">the first heading</h1><p id="blue">the first paragraph</p>
B.
<h1 color:red>the first heading</h1><p color:blue>the first paragraph</p>
C.
<h1 class="red">the first heading</h1><p class="blue">the first paragraph</p>
D.
<h2 class="red">the first heading</h2><h1>the first heading</h1><p class="blue">the first paragraph</p>
Which of the following tags does not belong to html5 new tags? ( )
A.
<header>
B.
<section>
C.
<font>
D.
<time>
Which of the following statements about html5 is correct? ( )
A.
HTML5 is just a simple upgrade of HTML4.
B.
All mainstream browsers support HTML5.
C.
HTML5 adds an offline caching mechanism.
D.
HTML5 is mainly optimized for the mobile side.
Clearing float with clear attribute is used in CSS2.0, which of the following items is not included in the clear attribute values?( )
A.
both
B.
left
C.
right
D.
center
(Multiple-choice question)Which of the following statements are incorrect about the <summary> tag in the <details> tag? ( )
A.
The <summary> tag does not contain the title of the details element.
B.
The <summary> tag is not a new html5 tag.
C.
The <details> tag defines a list of defined options.
D.
The <summary> tag is used with the <details> tag. When the title is visible, detailed information will be displayed when the user clicks on the title.
Which of the following statements about new tags in html5 is wrong? ( )
A.
The <header> tag defines the header area of the document.
B.
The <footer> tag defines the footer of a section or document.
C.
The <aside> tag defines the top columncontent of the page.
D.
The <article> defines an independent content area of a page.
Which of the following tags does not belong to the obsolete tags in html5? ( )
A.
<big>
B.
<font>
C.
<hr>
D.
<center>
Which of the following does not belong to new type of input tag in html5?( )
A.
data
B.
search
C.
range
D.
file
Which of the following does not belong to new form elements in html5? ( )
A.
datalist
B.
keygen
C.
output
D.
textarea
(Multiple-choice question) Which of the following statements about html5 are correct? ( )
A.
Browser storage is added to HTML5 standard.
B.
HTML5 is supported by IE8 and above (including IE8).
C.
HTML5 is still in perfection.
D.
HTML5 will replace Flash in mobile devices.
(Multiple-choice question) What attributes are added to input attributes in html5?()
A.
list
B.
width
C.
required
D.
type
Which of the following tags is added in HTML5? ( )
A.
<s>
B.
<samp>
C.
<aside>
D.
<isindex>This is a searchable index. Enter search keywords:
Which form attributes have been added to html5? ( )
A.
autocomplete
B.
action
C.
novalidate
D.
name
The correct element for playing html5 video files is ( ).
A.
<param>
B.
<source>
C.
​​<audio>
D.
<video>
The function of src attribute in audio element is ( ).
A.
providing play, pause and volume control.
B.
controlling whether to play cyclically or not.
C.
specifying the audio file path to play.
D.
inserting a paragraph of replacement text.
(Multiple-choice question) Which of the following statements about video tag are correct? ( )
A.
If autoplay is enabled, we can set the player to be in muted state. In this way, autoplay will be muted to prevent users from getting bored.
B.
The img tag is used in video tag to show the video cover.
C.
The loop attribute can make the media file play cyclically.
D.
Multiple source elements can be added, and the browser will choose to play the first file it supports.
Which of the following is true about html5?( )
A.
HTML5 is an upgraded version of the original HTML.
B.
HTML5 does not require DTD.
C.
Without <! DOCTYPE html>, HTML5 can also work normally.
D.
The <output> is a new tag for html5.
Which of the following statements about the attributes ofvideo tag is incorrect ? ( )
A.
The controls attributeis used to provide play, pause and volume controls.
B.
The loop attribute controls whether to play video file cyclically or not.
C.
The poster attribute indicates the image displayed by the video when it does not start playing.
D.
We can introduce the video source file with url attribute.
Which of the following methods is not canvas method? ( )
A.
getContext()
B.
fill()
C.
controller()
D.
stroke()
Which of the following statements about canvas is incorrect? ( )
A.
Canvas element in html5 is used to draw graphics, which is usually done by js.
B.
The canvas element is just a graphics container, and you must use scripts to draw graphics.
C.
You can draw paths, boxes, circles, characters and add images for the canvas element.
D.
You can change the graphics at any time after drawing it.
In canvas, what is used to move coordinate space? ( )
A.
transition
B.
context.transparent
C.
context.translate
D.
context.transform
When Using canvas to draw a circle, the "true" in ctx.arc(50, 170, 50, 2*Math.PI, true) represents__ 。
Which of the following statements about canvas is correct? ( )
A.
The maxWidth, the third parameter of fillText() method, is optional.
B.
The fillText() method can draw a text string in the canvas.
C.
When arc() method draws an arc, its last parameter is true or fasle, that is, whether it is clockwise or not, and it cannot be omitted.
D.
The clearRect(width, height, left,top) method is used to clear all the contents in the rectangular area with width=width and height=height and the top left corner at (left, top).
If you need to use the font "arial" to draw a solid text with a height of 30px on the canvas, fill the code ( ) in the blank space.ctx.strokeStyle="blue";ctx.font="30px arial";________('ABC', 0, 300)...
A.
ctx.strokeText
B.
ctx.stroke
C.
ctx.fillText
D.
ctx.fill
The fillRect(0,0,150,100) indicates that a__ with a width of__ and a height of__ is drawn at the__ position.
Which of the following statements about audio and video attributes is incorrect? ( )
A.
We can use the <audio> tag to import audio files.
B.
When using the <audio> tag, it can be abbreviated as <audio src = "" loop autoplay controls>.
C.
In the <audio> tag, we use src to import audio files.
D.
In the <audio> tag, we must use source to import audio files.
Draw a line on canvas, requiring the start coordinate to be (0,0), the end coordinate to be (100,50), and which one is correct for the following three blanks? ( )<canvas id="myCanvas" width="200px...
A.
ctx.moveFrom(0,0)ctx.lineTo(100,50)ctx.stroke()
B.
ctx.lineFrom(0,0)ctx.lineTo(100,50) ctx.stroke()
C.
ctx.moveTo(0,0)ctx.lineTo(100,50)ctx.stroke()
D.
ctx.moveTo(0,0)ctx.lineTo(100,50) ctx.strokeText()
(Multiple-choice question) What methods are used when drawing a circle in canvas? ( )
A.
beginPath()
B.
closePath()
C.
arc()
D.
stroke()
Using canvas to draw a graphic, and which option is correct about the following code snippets? ( )ctx.beginPath();ctx.arc(50,170,50,0,Math.PI,false);ctx.stroke();ctx.closePath();
A.
The graphic is a clockwise circle.
B.
The graphic is a counterclockwise circle.
C.
The graphic is a clockwise semicircle.
D.
The graphic is a counterclockwise semicircle.
(Multiple-choice question) If you want to create a shadow effect in canvas, what attributes do you need? ( )
A.
shadowOffsetX
B.
shadowOffsetY
C.
shadowBlur
D.
shadowColor
Which of the following statements about svg is incorrect? ( )
A.
Svg can be either a file or a tag.
B.
Svg uses xml format to define graphics.
C.
Svg refers to scalable vector graphics.
D.
The graphics quality of svg will decrease after enlargement.
Using svg element to create a rectangle, which of the following statements is incorrect? ( )
A.
Use the <rect> tag to create a rectangle.
B.
Use style="fill: rgb(255,0,0)" to fill the color.
C.
Use style="border-width: 10" to define the border size.
D.
Use style="stroke:rgb(0,0,0)" to define the border color.
Use svg to draw a circle with center at (100,100), radius 50, border width 5 and color blue, the code is ( ).
A.
<circle x="100" y="100" r="50" stroke-color="blue" stroke-width="5"></circle>
B.
<circle x="100" y="100" r="50" stroke="blue" stroke-width="5"></circle>
C.
<circle cx="100" cy="100" r="50" stroke="blue" stroke-width="5"></circle>
D.
<circle cx="100" cy="100" r="50" stroke-color="blue" stroke-width="5"></circle>
Compared with the common image format, which of the following is not an advantage of svg? ( )
A.
Svg graphics can be searched, indexed and scripted, but not compressed.
B.
Svg graphicscan be scaled.
C.
Svg graphics can be printed with high quality at any resolution.
D.
Svg can be enlarged without degradation of graphicsquality.
In css3, which of the following statements about text shadow isincorrect? ( )
A.
Use text-shadow to define text shadow.
B.
Text shadow can be divided into inner shadow and outer shadow.
C.
Text shadow has no extended edge.
D.
The text-shadow:1px 1px 1px red; indicates horizontal shadow value, vertical shadow value, blur-radius and shadow color respectively.
(Multiple-choice question) In the absence of padding, the drawing area of background is changed from including the border to not including the border. As shown in the renderings below, which of the fo...
A.
background-clip: padding-box;
B.
background-clip: content-box;
C.
background-clip: border-box;
D.
background-position: border-box;
In css3, three necessary steps of text overflow processing are: white-space: __;overflow:__; text-overflow:__; .
In css3, the incorrect statement about shadow background is ( ).
A.
using box-shadow to define the shadow style.
B.
using "inset" to set the inner shadow in box-shadow.
C.
the default color in box-shadow is black.
D.
In the box-shadow attribute, a negative value in the horizontal direction means moving to the right, and a negative value in the vertical direction means moving down.
(Multiple-choice question) Which of the following items are new attributes of css3? ( )
A.
border-image
B.
border-radius
C.
box-shadow
D.
border-color
To specify the drawing area of background to the content box, which value of the background-clip attribute should be used? ( )
A.
content-box
B.
border-box
C.
padding-box
D.
none-box
Which of the new background image attributes in CSS3 can draw the starting point of the background image? ( )
A.
background-clip
B.
background-size
C.
background-origin
D.
background-position
Which of the following statements about the use of svg is incorrect? ( )
A.
The <polyline> is used to draw polylines.
B.
The <polygon> is used to draw a polygon.
C.
The <ellipse> is used to draw a circle.
D.
The <rect> is used to draw a rectangle.
In the new background-size attribute values of CSS3, which can make the background image proportionally scaled to fill the whole container?( )
A.
cover
B.
length
C.
percentage
D.
contain
In css3, which of the following statements about the sibling selector is incorrect? ( )
A.
A sibling selector can select an element that follows another element, and both have the same parent element.
B.
Sibling selector only retrieves backward, not forward.
C.
Use "~" to represent ordinary sibling selectors.
D.
Use "+" to represent adjacent sibling selector to indicate all subsequent elements with the same parent element.
Which of the following statements about the following code iscorrect? ( ).box div[class*=s]{background: red }
A.
The background color ofthe first div with s in its class name in box is red.
B.
The background color of all the divs with s in their class names in box is red.
C.
The background color of the first div ending with s in its class name in box is red.
D.
The background color of all the divs ending with s in their class names in box is red.
Which of the following codes can achieve the following effect? (The background color of all the divs starting with n in their class names in box is red.) ( )
A.
.box div[class^=n]{background:red}
B.
.box div[class*=n]{background:red}
C.
box div[class=n]{background:red}
D.
.box div[class$=n]{background:red}
Write a selector to select element whose class name is "cons" in box, which of the following is incorrect? ( )
A.
.box div[class^=n]
B.
.box div[class*=n]
C.
.box div[class=cons]
D.
.box div[class$=s]
相关题目:
打开"刷刷题APP",使用更方便
打开APP