Search Header Logo

Comsci Review 2ndQ

Authored by mardion macarilay

Arts

KG

Used 3+ times

Comsci Review 2ndQ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents an anchor tag?

<an></an>

<a></a>

<href></href>

<iframe></iframe>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?

Inside home.html:

<head>

<link rel="stylesheet" type="text/css" href="style.css">

</head>

Inside home.html:

<head>

<style href="style.css"></style>

</head>

Inside style.css:

<head>

<html href="home.html"></head>

Inside style.css:

applyTo {

href: home.html;

}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A selector that indicates all h1 tags that are immediate CHILDREN of div tags?

div h1 {

}

div > h1 {

}

div {

h1 {

}

}

.h1 div {

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following selects the E element where its "attribute" value ends with "value"

E[attribute="value"]

E[attribute*="value"]

E[attribute^="value"]

E[attribute$^="value"]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will make the top and bottom borders of a box equal to 5px while the left and right will be 7px.

#box

{border-radius: 7px 7px 5px 5px;}

#box

{border-radius: 5px 5px 7px 7px;}

#box

{border-radius: 7, 7, 5, 5;}

#box

{border-radius: 5px; 7px; 5px; 7px;}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This property specifies the type of positioning method used for an element

position

float

display

locate

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This element will cause objects/texts to be adjusted away from its normal position.

Other contents will not be adjusted to fit into any gap left by the element.

position: fixed;

position: sticky;

position: absolute;

position: relative;

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?