Web Development Basics

Web Development Basics

8th Grade

8 Qs

quiz-placeholder

Similar activities

HTML - Tags, elements, tables and images

HTML - Tags, elements, tables and images

7th - 9th Grade

12 Qs

TechPromise JavaScript Quiz

TechPromise JavaScript Quiz

6th - 12th Grade

10 Qs

HTML Quiz 1 Review

HTML Quiz 1 Review

7th - 12th Grade

11 Qs

HTML and HTML Structure

HTML and HTML Structure

5th - 8th Grade

12 Qs

Understanding HTML

Understanding HTML

8th Grade

10 Qs

HTML Intro Extra Credit

HTML Intro Extra Credit

7th - 8th Grade

10 Qs

HTML

HTML

5th - 10th Grade

10 Qs

HTML basics

HTML basics

5th - 10th Grade

10 Qs

Web Development Basics

Web Development Basics

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Edlira Allaraj

Used 1+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does HTML stand for?

HyperText Markup Language

HyperText MultiLanguage

HighText Markup Language

Hyperlink Text Markup Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used to define an image?

  • <img> - The HTML tag used to define an image. It is the correct tag for embedding images in web pages.

  1. <picture> - An HTML tag used to define a container for multiple image sources, which can be useful for responsive images. Although <picture> itself does not define an image, it is used in conjunction with the <source> tag.

<graphic> - Another incorrect tag. It is not a valid HTML tag in HTML for images or graphics.

<image> - An incorrect tag. It’s often confused with <img>, but <image> is not a valid HTML tag for embedding images.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the tag in HTML?

The tag is for defining the layout of the webpage.

The tag is used to contain meta-information about the HTML document.

The tag is used to display the main content of the page.

The tag is used to include images and videos in the document.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you apply a CSS style to an HTML element?

CSS styles can only be applied through JavaScript.

You can apply a CSS style using inline styles, internal styles, or external stylesheets.

You can only use inline styles to apply CSS.

You must use a specific HTML tag to apply CSS styles.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What property is used to change the text color in CSS?

text-color

font-color

background-color

color

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a JavaScript function?

function:myFunction() { // code }

function myFunction() { // code }

function myFunction: { // code }

myFunction() = function { // code }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you import the javaScript file in the HTML document?

Using the <script> tag with src attribute:

<script async src="script.js"></script>

<script async src="script.js"></script>

<script defer src="script.js"></script>

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

const bioElement = document.querySelector('.bio');

const newBio = prompt('Enter a new bio:');

if (newBio) {

bioElement.textContent = newBio;

}

It changes the background color of the webpage.

It prompts the user to enter a new biography and updates the text content of an element with the class .bio if a new biography is provided.

It creates a new HTML element with the class .bio on the page.

It logs the text content of an element with the class .bio to the console.