wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML and CSS cơ bảng

Total questions: 25

Worksheet time: 16mins

Name
Class
Date
1.

What does HTML stand for??

a)

Home Training Metric Length

b)

Homogenous Technical Support

c)

Hype Tense Microsoft Level

d)

Hyper Text Markup Language

2.

Which set contains all of the DEFAULT tags needed to create a webpage?

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

</html>

b)

<html>

<head>

</head>

<body>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

</body>

3.

Which of the tag is used to create a numbered list?

a)

<L> </L>

b)

<LI> </LI>

c)

<li> </lo>

d)

<ol> </ol>

4.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

5.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

6.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

7.

What is the correct syntax for defining a hyperlink in HTML?

a)

<a href=”url”> Link text </a>

b)

<a href=”url”> Link text <a>

c)

<a=”url”> Link text <a>

d)

<ref=”url”> Link text <a>

8.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

9.

You need a closing tag for an image without text

a)

True

b)

False

10.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
11.
Body tags are used;
a)
Used for only the header
b)
Used only for the paragraph
c)
element that wraps everything that is visible on the page.
d)
Not used in HTML
12.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
13.

The select field in a form

a)

is used inside an input element.

b)

provides users with a set of options to choose from.

c)

auto-completes as the user types data.

d)

cannot have a default option setting.

14.

To help users know what to put in field, use

a)

<input name="firstname">

b)

<label for="firstname">

<input type="text" id="firstname>

c)

<input type="text" id="firstname" name="label">

d)

<input label="First Name" type="text">

15.

Thẻ <video> dùng để làm gì?

a)

chạy file .mp4 theo 1 đường dẫn file

b)

chạy file .mp3 theo 1 đường dẫn file

16.

Thẻ nào dùng để in đậm ký tự?

a)

<a>

b)

<b>

c)

<i>

d)

<del>

17.

Thẻ nào dùng để tạo đường gạch ngang?

a)

<br>

b)

<hr>

c)

<li>

d)

<border>

18.

Chèn tập tin CSS vào trong trang HML phải dùng thẻ nào sau đây?

a)

<link rel="styles" href="stylesheet.css">

b)

<link href="stylesheet">

c)

<link rel="stylesheet" src="styles.css">

d)

<link rel="stylesheet" href="styles.css">

19.

Ký hiệu nào sau đây dùng để chỉ class trong CSS?

a)

.

b)

#

c)

+

d)

-

20.

Ký hiệu nào sau đây dùng để chỉ id trong CSS?

a)

.

b)

#

c)

id

d)

id:

21.

Thẻ nào tạo danh sách không đánh số thứ tự?

a)

ul

b)

ol

c)

il

d)

li

22.

Thẻ nào hiển thị kích cỡ chữ to nhất?

a)

h2

b)

h3

c)

h4

d)

h6

23.

Độ ưu tiên CSS theo thứ tự là gì?

a)

inline > id > class > tag

b)

tag > class > id > inline

c)

inline > class > id > tag

d)

tag > id > inline > class

24.

Phần mở rộng của tệp tin HTML là gì?

a)

HTML

b)

TMHL

c)

HTMLX

d)

HTML5

25.

Thẻ nào định nghĩa CSS ở ngay trong tệp HTML?

a)

<css>

b)

<script>

c)

<style>

d)

styles