HTML, CSS, and JavaScript Basics

HTML, CSS, and JavaScript Basics

8th Grade

8 Qs

quiz-placeholder

Similar activities

Kuis Coding HTML

Kuis Coding HTML

6th - 8th Grade

10 Qs

Internet Vocabulary

Internet Vocabulary

7th - 9th Grade

12 Qs

Internet address

Internet address

8th Grade

13 Qs

Quiz 8 (01.09.2021)

Quiz 8 (01.09.2021)

1st - 12th Grade

10 Qs

Administrasi Infrastruktur Jaringan

Administrasi Infrastruktur Jaringan

1st - 10th Grade

10 Qs

Graphics Programming Review

Graphics Programming Review

8th - 10th Grade

10 Qs

Internet

Internet

1st - 11th Grade

10 Qs

Internet dan Istilah Stanislaus 8

Internet dan Istilah Stanislaus 8

8th Grade

10 Qs

HTML, CSS, and JavaScript Basics

HTML, CSS, and JavaScript Basics

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

esraa emad

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the

tag in HTML?

The

tag is for embedding images.

The

tag is used to define a table structure.

The

tag is used to group and style HTML elements.

The

tag is used to create hyperlinks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you link an external CSS file in HTML?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in JavaScript?

var x; // using var let y; // using let const z = 10; // using const

const z; // missing value

let = y;

variable x = 5;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access an HTML element by its ID in JavaScript?

document.getElementById('yourElementId');

document.getElementByIdById('yourElementId');

getElementById('yourElementId');

document.querySelector('#yourElementId');

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute is used to execute JavaScript when a button is clicked?

onfocus

onclick

onchange

onhover

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CSS stand for?

Computer Style Sheets

Cascading Style System

Creative Style Sheets

Cascading Style Sheets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is used to change the background color in CSS?

background-color

color-background

background

bg-color

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: var x = 5; alert(x);?

10

undefined

5.0

5