wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Sec-F Quiz 11-8-2023- II

Total questions: 67

Worksheet time: 43mins

Name
Class
Date
1.

Which tag is for the LARGEST heading size?

a)

h1

b)

h3

c)

h5

d)

h6

2.

Which font is for the SMALLEST heading size?

a)

h1

b)

h3

c)

h5

d)

h6

3.

Which is the CLOSING paragraph tag?

a)

<p>

b)

</p>

c)

<h2>

d)

</h2>

4.

Which one is the OPENING paragraph tag?

a)

<p>

b)

</p>

c)

<h1>

d)

</h1>

5.

How should I START a SMALL heading?

a)

<h1>

b)

</h1>

c)

<h6>

d)

</h6>

6.

Which tag should END a paragraph?

a)

<p>

b)

</p>

c)

<h6>

d)

</h6>

7.

How should I END a LARGE heading?

a)

<h1>

b)

</h1>

c)

<h6>

d)

</h6>

8.

Which tags are listed from largest to smallest?

a)

h1, h3, h6

b)

h5, h4, h6

c)

h6, h5, h4

d)

h2, h1, h2

9.

Which tags are listed from SMALLEST to LARGEST

a)

h1, h2, h3

b)

h6, h3, h1

c)

h5, h7, h8

10.

Which TWO are heading tags?

a)

<h1>

b)

<h4>

c)

<p>

d)

</p>

11.

Which two tags show text in bold?

a)

<strong>

b)

<em>

c)

<b>

d)

<bold>

12.

Which two tags show text in italic?

a)

<strong>

b)

<em>

c)

<i>

d)

<italic>

13.

Which tag doesn't create a paragraph, but moves text to the next line?

a)

<next>

b)

<br>

c)

<line>

d)

<bump>

14.

Which of these do not alter the appearance of the webpage?

a)

<title>

b)

<head>

c)

<h1>

d)

<p>

15.

Which of the following best describes the code to open a link in a new browser window?

a)

a href="url" target=_window"

b)

a href="url" target="new"

c)

a href="url" new

d)

a href="url" target="_blank"

16.

Which one is the correct HTML tag used for the largest heading?

a)

Heading

b)

h1

c)

Head

d)

h6

17.

In CSS, which of the following properties can be used to set the background color of an image?

a)

background-color

b)

color : background

c)

background:color

d)

color

18.

The correct sequence of HTML tags for starting a webpage is -

a)

Head, Title, HTML, body

b)

HTML, Body, Title, Head

c)

HTML, Head, Title, Body

d)

none of these

19.

From the below options, how do we create a bulleted list in HTML?

a)

<li>

b)

<ul>

c)

<list>

d)

<bl>

20.

In HTML5, which of the following tag is used to initialize the document type?

a)

<Doctype HTML>

b)

<\Doctype html>

c)

<Doctype>

d)

<!DOCTYPE html>

21.

Which character is used to represent the closing of a tag in HTML?

a)

\

b)

!

c)

/

d)

.

22.

Which of the following tags is used to create lists in HTML?

a)

<list>

b)

<a href>

c)

<li>

d)

<il>

23.

Which of the following tag is used to add an image?

a)

<img src="url">

b)

<img src=url>

c)

<image src="url">

d)

<image src=url>

24.

How to add a comment in Html?

a)

<!-- --!>

b)

<!-- -->

c)

\\

d)

<-- -->

25.

When making a web page, which two of the following tasks is HTML the most important language for? (Choose TWO)

a)

Making the text a different color.

b)

Separating out headings from paragraphs

c)

Putting borders on an image

d)

Adding information about the copyright

e)

Organizing text into a list

26.

A programmer has an idea to use just one language for the content, structure, and style of web pages. What might be a problem with this idea?

a)

It will be confusing and less organized for people to read and write code that mixes everything up together.

b)

Structure is more important than style or content and needs its own language

c)

Communicating about structure and style are different problems, and it is helpful to use two languages specific to those problems

d)

A and C

e)

All of the above

27.

A group of artists is making a website. When should they use classes?

a)

They want to make their h3 tags bigger than their h1 tags.

b)

They want headings to be one color, but paragraphs to be a different color.

c)

They want some images to float left, and other images to float right.

d)

They want all the pages on their site to have the same style.

e)

They want make a special color using RGB codes.

28.

A student is using a stylesheet to make all the paragraphs on the website green, but it's not working on index.html, even though it works on the other web pages. What could be causing the problem?

a)

1 only

b)

3 only

c)

1 and 2 only

d)

1 and 3 only

e)

1, 2, and 3

29.

What code in the stylesheet could have made the text green? (Choose TWO)

a)

.p {

color:green;

}

b)

p {

color:green;

}

c)

.special {

color:green;

}

d)

special {

color:green;

}

30.

The web developer wants to make the "My Page" text larger. Which TWO of the following would work? (Choose TWO)

a)

Use <h6> instead of <h3>

b)

Use <h1> instead of <h3>

c)

Put the "My Page" text inside the tags.

d)

Use CSS to set the font-size property of the h3 tag

e)

Put the code style="larger" inside the h3 tag.

31.

Which of the following is true about copyright?

a)

If an image is already on one web page, it's okay to use it on any web page.

b)

If you make a lot of changes to an image, you do not need the permission of the original creator to post it on your site.

c)

Image creators can decide both who can use their images and how the images can be used.

d)

If there is no copyright information for an image, anyone is free to use it on their own sites.

e)

You must always contact the creator for permission to use an image on your site.

32.

What is the correct HTML element for inserting a line break?

a)

<br>

b)

<lb>

c)

<break>

33.

What is the correct HTML for adding a background color?

a)

<background>yellow</background>

b)

body {"background-color:yellow;}

c)

(body bg="yellow")

d)

background color = "yellow"

34.

What is this tag used for?


<tc> content </tc>

a)

table columns

b)

table rows

c)

table headers

d)

tc is not a tag

35.

What is a HTML tag?

a)

A tag at the end of a HTML

b)

A closing and opening to a Sentence, Header ex.

c)

A paragraph in a website

d)

A opener to a website

36.

What is a CSS?

a)

A language that adds style to the page

b)

A language used to structure the content of a page

c)

The body of your website

d)

The bones of your website

37.

HTML stands for:

a)

HyperText Markup Language

b)

HyperTurbo Machine Language

c)

HyperTraining Making Language

d)

HappyTime Makeup Lounge

38.

Every website begins with a file named:

a)

page.html

b)

start.html

c)

main.html

d)

index.html

39.

The tag that signals to a computer that the file it is reading is an HTML document is _____________ .

a)

<web>

b)

<!DOCTYPE html>

c)

<head>

d)

<html>

40.

What is a bug?

a)

Part of a program that does not work correctly

b)

a Hemipteron

c)

Part of a program that does work correctly

d)

Finding and fixing problems in an algorithm or program.

41.

The <img> tag is empty; it doesn't have a ______ tag.

a)

new

b)

freestyle

c)

closing

42.

The src attribute of an <img> tag, specifies the URL(web address) of the image.

a)

True

b)

False

43.

HTML is a ........................language.

a)

programming

b)

scripting

c)

object oriented

d)

markup

44.

Which of the following will correctly display the words above?

a)

<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>

b)

B<h1> Eggs </h1>

<h2> Bacon </h2>

<h3> Waffles </h3>

c)

<h6> Eggs </h6>

<h1> Bacon </h1>

<h3> Waffles </h3>

45.

HTML blocks are part of HTML elements

a)

True

b)

False

46.

Block elements appear on the screen as if they have a ________ break before and after?

a)

Line

b)

Page

47.

Do block elements need to start on a new line ?

a)

Yes

b)

No

48.

Which of the following is the correct format for inserting a block elemets ?

a)

<h1> </h1>

b)

<H1> <H1>

c)

<H1> </H1>

d)

<h1> <h1/>

49.

Which of the following is the most important block level tag?

a)

<p>

b)

<h1>

c)

<div>

50.

select the incorrect one. The <div> tag can be used to ?

a)

Grouping various HTML tags

b)

Cannot be used to define different parts of the web page

c)

It does not provide any visual change

51.

The <div> element is usually used as a container for other HTML elements and to separate them for the rest.

a)

True

b)

False

52.

Block-level elements may appear only within a <body> element.

a)

True

b)

False

53.

What change would the following tag cause ? <p>background-color: #8ABB55</p>

a)

The paragraph would display the color as if highlighted

b)

The font color changes

c)

There is no change

d)

This inst a block element

54.

What does the abbreviation HTML stand for?

a)

HyperText Markup Language

b)

HyperText Markdown Language

c)

HighText Markup Language

d)

HyperTag Markdown Language

55.

What is the smallest header in HTML by default?

a)

H5

b)

h6

c)

h7

d)

h1

56.

We enclose HTML tags within

a)

{}

b)

<>

c)

()

d)

<! --- --->

57.

What tag is used to render an image on a webpage?

a)

img tag

b)

IMG

c)

img

d)

<image>

58.

Which of the following is the correct syntax for using the HTML style attribute?

a)

<tagname style=”property:value;”>

b)

<tagname style>

c)

<tagname style=”property;”>

d)

None of these

59.

Which of the following are examples of block level elements in HTML?

a)

<div>

b)

<p>

c)

<h1>

d)

All of the above

60.

Which HTML tag is used to set up a Javascript-like client-side scripting language?

a)

script

b)

style

c)

select

d)

anchor

61.

Colours are defined in HTML using?

a)

RGB values

b)

HEX values

c)

RGBA values

d)

All of the above

62.

Clearly describe its meaning to both the browser and the developer.

a)

SEMANTIC

b)

NON-SEMANTIC

63.

Tell nothing about its content

a)

SEMANTIC

b)

NON-SEMANTIC

64.

This element does not suggest they do.

a)

SEMANTIC

b)

NON-SEMANTIC

65.

It makes HTML more comprehensible by defining the different sections and layouts.

a)

SEMANTIC

b)

NON-SEMANTIC

66.

This element adds more logic and structure to the HTML page

a)

SEMANTIC

b)

NON-SEMANTIC

67.

Define the difference between section, article, and aside. _________________________________________

4 lines