MCQ

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

C
The World Wide Web Consortium (W3C) is an international community that develops open standards to ensure the long-term growth of the Web.

 

 

2. HTML is considered as ______ ?

A Programming language

B OOP language

C High level language

D Markup language

D
Markup languages are the languages of the Web. These markup languages include HTML, XML and XHTML

 

 

3. HTML uses ______?

A User-defined tags

B Predefined tags

C Fixed tags defined by the language

D Tags for links only

C

 

 

4. HTML was first proposed in ___.

A 1980

B 1990

C 1995

D 2000

B

 

 

5. Which of the following is not a browser?

A Mozilla Firefox

B Netscape

C Microsoft Bing

D Opera

C
Bing is a web search engine owned and operated by Microsoft.

 

 

6. Who is the main author of the HTML?

A Brendan Eich

B Tim Berners-Lee

C Web developer

D Google Inc

B
 

7. 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

A
The id attribute can be applied to any HTML element. The value of this attribute is a unique identifier of the element. For example, <h1 id="title"> “title” is a unique identifier of h1.

 

 

8. The HTML tag that specifies a CSS style embedded in an element is called ____?

A Design

B Style

C Modify

D Define

B
The style attribute specifies an inline style for an element. Example:

<p style="color:green">This is a paragraph.</p>

 

 

9. 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

C
 

10. A stricter type of HTML document is known as ______?

A DHTML

B XHTML

C XML

D HTML

B
XHTML stands for EXtensible HyperText Markup Language, based on XML, is stricter than HTML, and is supported by almost all web browsers.

 

mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

One thought on “HTML/CSS MCQs – Multiple Choice Questions and Answers – Part 1

  • Paresh Kanti Paul

    Very useful for learning web design and web development

    Reply

Leave a Reply

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