HTML/CSS SC- 2

HTML/CSS SC- 2

8th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

javascript BASIC

javascript BASIC

11th Grade

13 Qs

JS quiz

JS quiz

10th Grade

12 Qs

JS Talks, Quiz #1

JS Talks, Quiz #1

1st - 12th Grade

12 Qs

JavaScript 4

JavaScript 4

12th Grade

10 Qs

JavaScript ievads

JavaScript ievads

7th - 8th Grade

10 Qs

Making Websites Quiz Y9

Making Websites Quiz Y9

8th - 9th Grade

14 Qs

HTML, CSS, JavaScript Quiz

HTML, CSS, JavaScript Quiz

10th Grade

10 Qs

Coding JavaScript

Coding JavaScript

9th - 12th Grade

12 Qs

HTML/CSS SC- 2

HTML/CSS SC- 2

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

SHAZIA AFREEN

Used 315+ times

FREE Resource

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

}

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?