0% found this document useful (0 votes)
6 views3 pages

CSS HTML MCQ

The document contains a series of multiple-choice questions related to HTML and CSS, covering topics such as text formatting, HTML elements, email specification, CSS properties, and gradient functions. Key questions include identifying elements for bold text, YouTube videos, and CSS properties for positioning and overflow. The document serves as a quiz or study guide for web development concepts.

Uploaded by

Vishwa Hb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

CSS HTML MCQ

The document contains a series of multiple-choice questions related to HTML and CSS, covering topics such as text formatting, HTML elements, email specification, CSS properties, and gradient functions. Key questions include identifying elements for bold text, YouTube videos, and CSS properties for positioning and overflow. The document serves as a quiz or study guide for web development concepts.

Uploaded by

Vishwa Hb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Which of the following element is responsible for making the text bold in HTML?

a) <pre>
b) <a>
c) <b>
d) <br>

HTML is a subset of ___________


a) SGMT
b) SGML
c) SGME
d) XHTML

Which HTML element is used for YouTube videos?


a) <samp>
b) <small>
c) <frame>
d) <iframe>

What is used for specifying an email to be sent?


a) mailto:
b) target
c) id
d) href

Which of the following CSS property is used to make the text bold?
a) text-decoration: bold
b) font-weight: bold
c) font-style: bold
d) text-align: bold

What will be the output of following CSS code snippet?

h1 {color: "green";}

a) nothings happen
b) error occurs
c) heading becomes dark-green
d) heading becomes green
Which of the following are the CSS Extension Prefixes for Webkit?
a) -chrome
b) -web
c) -o-
d) -webkit

Which of the following function defines a linear gradient as a CSS image?


a) gradient()
b) linear-gradient()
c) grayscale()
d) image()

Which of the following CSS property specifies the look and design of an outline?
a) outline-style
b) outline-format
c) outline-font
d) none of the mentioned

Which of the following CSS Property controls how an element is positioned?


a) static
b) position
c) fix
d) set

Which of the following is an appropriate value for the overflow element?


a) scroll
b) hidden
c) auto
d) all of the mentioned

Which of the following CSS Property sets the stacking order of positioned
elements?
a) y-index
b) z-index
c) x-index
d) all of the mentioned
The CSS property which is used to define the set the difference between two
lines of your content is -

a) min-height property
b) max-height property
c) line-height property
d) None of the above

You might also like