Search Header Logo

HTML/CSS SC- 2

Authored by SHAZIA AFREEN

Computers

8th - 12th Grade

Used 315+ times

HTML/CSS SC- 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___________ element defines a drop-down list

<value>

<input>

<select>

<form>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the most appropriate CSS declaration(s) to set an element to absolute positioning in the top right corner.

position: top right;

position: absolute; top: 0; right: 0;

position: absolute; top: 0; left: 0;

None of the above.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using CSS property flex-wrap?

define the direction of how elements are positioned based on either row or column

define how elements will wrap when the browser width is changed

define how to position elements vertically

defines how position elements horizontally

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inside which HTML element do we put the JavaScript?

<scripting>

<javascript>

<js>

<script>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct JavaScript syntax to change the content of the following HTML code: <p id="example">This is an example!</p>

document.getElement(“example”).innerHTML=”Lets code!”;

document.getElementById(“example”).innerHTML=”Lets code!”;

document.getId(“example”)=”Lets code!”;

document.getElementById(“example”).innerHTML=Lets code!;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for referring to an external script called “script.js”?

<script src=”script.js”>

<script href=”script.js”>

<script ref=”script.js”>

<script name=”script.js”>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for creating a function in JavaScript named as Example? 

function = Example(){

//body of function

}

function Example(){

//body of function

}

function := Example(){

//body of function

}

function : Example(){

//body of function

}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?