Welcome to our HTML Quiz! HTML, or HyperText Markup Language, is the foundation of web development. It’s the markup language used to create and structure content on the internet. In this quiz, you’ll be challenged on your knowledge of HTML elements, attributes, and syntax. From the basics of creating a webpage to more advanced concepts like forms and multimedia, our quiz covers a wide range of topics to test your knowledge. So, let’s dive in and see how much you know about HTML!

43

HTML Quiz

Test your knowledge of HTML elements, attributes, and syntax with our interactive quiz!

1 / 30

The element is a container consists of

2 / 30

The id name is case sensitive.

3 / 30

________ is used to define sample output in the HTML code?

4 / 30

What is kbd in the code below?

Save the document by pressing Ctrl + S

5 / 30

What will be the output of the code below?


x = 9;
y = 3;
z = x + y;


6 / 30

Which is the ideal unit for reponsive text?

7 / 30

For a responsive image, what should be the value of width?

8 / 30

Which of the following is largest heading in HTML?

9 / 30

HTML metadata is contained in which part?

10 / 30

Which element is used to read an HTML page and render it on different platforms?

11 / 30

Who invented HTML?

12 / 30

The output of below code is?


Coding Ninjas

Welcome to coding ninjas homepage.


13 / 30

Which of the following element is inline?

14 / 30

The 4xx error refers to

15 / 30

What will be the output of below code?

We should go for a walk & exercise daily


16 / 30

Add spaces in your text without breaking the line. We must use _________.

17 / 30

What are the ASCII values for letters, digits and symbols?

18 / 30

What is the meaning of below code?

19 / 30

Which of the following is a non-semantic element?

20 / 30

What is the role of “noscript” in below code?


21 / 30

Which of these elements is used to style specific columns of a table?

22 / 30

By which method should we apply CSS to HTML?

23 / 30

Which of following code will print output as.
Thane blue road.
MG class
Building 11A/B
Mumbai.

24 / 30

Which element defines a section that is quoted from another source?

25 / 30

What will be the output of following code?

I like football tennis.


26 / 30

What will be the output of following code?

You should exersice daily.


27 / 30

Which of these elemets is used to emphasize text?

28 / 30

What will be the output of the following code?

Welcome to Newzeland, Peter

It’s hard to lose.

It’s hard to win.

This is just a matter of hard work and luck.

29 / 30

Which of the following is not an attribute?

30 / 30

Which of these elements do not have an end tag and are empty elements as well?

Author

  • Barry Allen

    A Full Stack Developer with 10+ years of experience in different domain including SAP, Blockchain, AI and Web Development.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.