• 2022-05-31
    以下哪项是有效的标识符
    A: mile1
    B: import
    C: (red)
    D: "red"
  • A

    内容

    • 0

      下列哪项是正确的线性渐变的写法?( ) A: background:linear-gradient(red,blue); B: background:linear-gradient(45deg,red,blue); C: background-image:linear-gradient(red,blue); D: background-image:linear-gradient(45deg,red,blue);

    • 1

      下面哪个运用了ID选择器( )。 A: a{color:red;} B: red{color:red;} C: D: red{color:red;} E: [att=red]{color:red;}

    • 2

      以下选项中哪个是给p标签添加颜色的jQuery语法()。 A: $("p").css("color","red") B: p.css("color","red") C: p.style.color="red" D: p.style="red"

    • 3

      假设一个线性表包含元素{"red","green","red","green"}.下列代码执行后,线性表是______________?Stringelement="red";for(inti=list.size()-1;i>;=0;i--)if(list.get(i).equals(element))list.remove(element); A: {"red","red","green"} B: {"red","green"} C: {"green","green"} D: {"green"} E: {}

    • 4

      假设一个线性表包含元素{"red","green","red","green"}.下列代码执行后,线性表是______________?Stringelement="red";for(inti=list.size()-1;i>=0;i--)if(list.get(i).equals(element))list.remove(element); A: {"red","red","green"} B: {"red","green"} C: {"green","green"} D: {"green"} E: {}