HTML/CSS MCQs – Multiple Choice Questions and Answers – Part 1
Multiple choice questions and answers (MCQs) on HTML/CSS to prepare for exams, tests, and certifications. These questions are taken from a real written exam and some parts are taken from an interview. So you will find questions on basic techniques such as tags, web standards, CSS selector, objects, and more. This quiz will easily prepare anyone to pass their online test.
1. Which organization defines Web standards?
A Apple Inc.
B IBM Corporation
C World Wide Web Consortium
D Microsoft Corporation
2. HTML is considered as ______ ?
A Programming language
B OOP language
C High level language
D Markup language
3. HTML uses ______?
A User-defined tags
B Predefined tags
C Fixed tags defined by the language
D Tags for links only
4. HTML was first proposed in ___.
A 1980
B 1990
C 1995
D 2000
5. Which of the following is not a browser?
A Mozilla Firefox
B Netscape
C Microsoft Bing
D Opera
6. Who is the main author of the HTML?
A Brendan Eich
B Tim Berners-Lee
C Web developer
D Google Inc
7. What is the correct basic structure of an HTML document?
A
<!DOCTYPE html> <html> <head> <title>Example Page</title> </head> <body> <h1>Hello World!</h1> </body> </html>
B
<html> <head> <title>Example Page</title> </head> <body> <h1>Hello World!</h1> </body> </html>
C
<!DOCTYPE html> <html> <header> <title>Example Page</title> </header> <body> <h1>Hello World!</h1> </body> </html>
8. If we want to set the style for just one element, which css selector will we use?
A id
B text
C class
D name
9. The HTML tag that specifies a CSS style embedded in an element is called ____?
A Design
B Style
C Modify
D Define
10. The HTML standard which does not require double quotes around the values of an attribute is called ______?
A HTML 1
B HTML 3
C HTML 5
D HTML 7
11. A stricter type of HTML document is known as ______?
A DHTML
B XHTML
C XML
D HTML
Very useful for learning web design and web development