HTML Quizzes & Trivia
Whether you are a programmer, a website designer or simply a home computer user who wants to brush up on your computing skills, take our HTML trivia quizzes to test your knowledge and learn more information about this common standard markup language used to create websites! Improve and practice your skills and knowledge by answering questions on the history of HTML and its elements, characters, and uses.
Prepare to answer questions such as, “What is the HTML element to bold a text?”, “What is the HTML tag for a link?” and, “What HTML tag changes the tab name of the page in the browser?” Do you think you know who HTML was developed by and when it was initially released? Get proficient in HTML and take our HTML trivia quizzes now!
Top Trending Quizzes
HTML is an important markup language that is very important in building web pages. It is the web designers number one tool for designing pages on the world wide web using tags, CSS and JavaScript. Pass this awesome quiz while.
Are you into web technology, or have you just started to learn its basics? Here, we have a simple HTML multiple-choice quiz for you to check your knowledge regarding this language. HTML is a standup markup language used for.
Are you ready to identify the HTML tags in this quiz? Go ahead then. Aspiring web developers and programmers alike, if you’re just starting out, you’ll need to know that learning basic HTML is the best foundation of.
Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language like HTML. Over the past week, we have been able to cover HTML and CSS in great detail and as.
HTML Quiz
The test contains 40 questions and there is no time limit.
The test is not official, it’s just a nice way to see how much you know, or don’t know, about HTML.
Count Your Score
You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed. Maximum score is 40 points.
Start the Quiz
If you don’t know HTML, we suggest that you read our HTML Tutorial from scratch.
Kickstart your career
Get certified by completing the course
COLOR PICKER
Report Error
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
Thank You For Helping Us!
Your message has been sent to W3Schools.
Top Tutorials
Top References
Top Examples
Get Certified
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.
HTML Quiz
Question: In HTML documents the tags
(a) Should be written in uppercase
(b) should be written in lowercase
(c) should be written in the proper case
(d) can be written in both uppercase and lowercase
View Answer
Question: Choose the correct HTML tag for the smallest size heading?
(a)
(b)
(c)
(d)
View Answer
Question: There are ____ different heading tags in HTML
(a) 4
(b) 5
(c) 6
(d) 7
View Answer
Question: tag makes the enclosed text bold. What is another tag to make text bold?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following is not a style tag?
(a)
(b)
(c)
(d) All of the above are style tags
View Answer
Question: What is the correct HTML tag for inserting a line break?
(a)
(b)
(c)
(d)
View Answer
Question: The way the browser displays the object can be modified by _____
(a) attributes
(b) parameters
(c) modifiers
(d) None of the above
View Answer
Question: Choose the correct HTML tag for the largest heading?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following HTML code is valid?
(a)
(b)
(c)
(d) All of the above are style tags
View Answer
Question: HTTP
(a) Hypermedia text transfer protocol
(b) Hypertext Transfer protocol
(c) HTML testing programme
(d) None of the above
View Answer
Question: Which attribute is used to name an element uniquely?
(a) class
(b) id
(c) dot
(d) all of the above
View Answer
Question: Which of the following is an attribute related to font tag?
(a) size
(b) face
(c) color
(d) All of the above are style tags.
View Answer
Question: What tag is used to display a picture on a webpage?
(a) picture
(b) image
(c) img
(d) src
View Answer
Question: HTML supports
(a) ordered lists
(b) unordered lists
(c) both types of lists
(d) does not support those types
View Answer
Question: To create a combo box (drop down box) which tag will we use?
(a)
(b)
(c)
(d) all of the above
View Answer
Question: What tag is used to list individual items of an ordered list?
(a) LI
(b) OL
(c) UL
(d) None of above
View Answer
Question: Choose the correct HTML tag to make a text bold?
(a)
(b)
(c)
(d)
View Answer
Question: When should we use the path along with the file name of a picture in IMG tag?
(a) The path is optional and not necessary.
(b) when the location of the image file and html file are different
(c) when an image file and html file are both in the same location
(d) a path is always necessary when inserting an image
View Answer
Question: Which of the following is not a pair tag?
(a)
(b) < u >
(c)
(d)
View Answer
Question: Which of the following is not a valid alignment attribute?
(a) Left
(b) Right
(c) Top
(d) All of the above
View Answer
Question: Which tag allows us to add a row to a table?
(a)
(b)
(c)
(d)
View Answer
Question: Which attribute is used with the img tag to add a text description, if the image cannot be displayed?
(a) description
(b) name
(c) alt
(d) id
View Answer
Question: To create an HTML document we require a
(a) web page editing software
(b) High powered computer
(c) even a notepad can be used
(d) None of the above
View Answer
Question: A webpage displays a picture. What tag was used to display that picture?
(a) picture
(b) mage
(c) img
(d) src
View Answer
Question: Which tag allows you to add a row to a table?
(a)
(b)
(c)
(d)
View Answer
Question: Which of the following is an attribute of tag?
(a) SRC
(b) LINK
(c) CELLPADDING
(d) BOLD
View Answer
Question: The special formatting codes in HTML documents used to present content are
(a) tags
(b) attributes
(c) values
(d) None of the above
View Answer
Question: HTML documents start and end with which tag pairs?
(a)
(b) ….
(c) ….
(d)
View Answer
Question: tag can be placed within ____
(a) Header
(b) Body
(c) both A and B
(d) none of the above
View Answer
Question: Some tags enclose the text. Those tags are known as
(a) Couple tags
(b) Single tags
(c) Double tags
(d) Pair tags
View Answer
Question:
(a) Table heading
(b) Table Records
(c) Table row
(d) none of the above
View Answer
Question: Choose the correct HTML tag to make the text italic
(a)
(b)
(c)
(d)
View Answer
Question: The _____ character tells browsers to stop tagging the text
(a) ?
(b) /
(c) >
(d) %
View Answer
Question: using tag will
(a) Start a new paragraph
(b) break the line
(c) end the current paragraph
(d) none of the above
View Answer
Quiz: HTML-Programming Test Questions
What Is HTML? Hypertext Markup Language Basics Explained
Using elements, tags, and attributes, HTML, or HyperText Markup Language, enables online users to design and organize sections, paragraphs, and connections. It’s important to remember, nevertheless, that HTML is not regarded as a programming language because it cannot develop dynamic functionality.
There are numerous uses for HTML, including:
- Developing a website. Developers employ HTML code to control how browsers display text, hyperlinks, and media files.
- Using the internet. Since HTML is widely used to embed hyperlinks, users can easily navigate and insert links between relevant pages and websites.
- Web-based instruction. Similar to Microsoft Word, HTML allows for document organization and formatting.
What is Semantic HTML?
Semantic HTML, also known as semantic markup, is HTML that adds meaning to the web page as opposed to focusing solely on presentation. A tag might say, for instance, that the text surrounded is a paragraph. The fact that individuals know what paragraphs are and how to display them makes this presentational and semantic.
On the other hand of the coin, tags like and are not semantic. They define only how the text should look (bold or italic), and don’t provide any additional meaning to the markup. Our aim while developing HTML pages should be to describe the material with the tags we have accurately.
Semantic HTML markup allows people to use your page in ways you might not have anticipated. For instance, search engines like Google, DuckDuckGo, Bing, and others must scan web pages to determine their meaning and decide what search terms they should return.