CSS 3 Interview Questions and Answers (122) - Page 6

Which of the following are attributes of Font tag?

NOTE: This is objective type question, Please click question title for correct answer.
We can define inline styles using which HTML attribute?

NOTE: This is objective type question, Please click question title for correct answer.
Correct CSS syntax for color is?

NOTE: This is objective type question, Please click question title for correct answer.
What is the correct way to add a background color for all horizontal rule elements?

NOTE: This is objective type question, Please click question title for correct answer.
What is the correct syntax to display links or anchor tags without an underline?

NOTE: This is objective type question, Please click question title for correct answer.
Which is the correct syntax to make each word in a text start with a capital letter?

NOTE: This is objective type question, Please click question title for correct answer.
How do we change the Left Margin of an control?

NOTE: This is objective type question, Please click question title for correct answer.
The statement, <a name = "ABC"> CLICK</a>,creates a names ABC which is called as?

NOTE: This is objective type question, Please click question title for correct answer.
What is the correct way to comment anything inside CSS file?

NOTE: This is objective type question, Please click question title for correct answer.
State the different type of author styles used in CSS?

We can describe styles in three different forms they are:-
1) External style sheets:- An External Style Sheet is a separate page (file) which is then linked to the web page. Therefore,the styles are External to,or outside of,the Web Page.
2) Embedded style : Embedded also called as Internal Styles are placed inside the <head> section of a particular web page via the style tag.<style type="text/css"></style>
3) Inline styles :- An inline style may be used to apply a unique style for a single element.
4) Local and default style sheet.
A default style sheet consists of the style imparted by the browser which the user is accessing for the information.
What do we mean by Opacity in CSS3?

Opacity is used to show or hide the html element.
For Example 0 for hide and 1 for show.
<p style="opacity: 0">Show Me</p> //will not show on the page
<p style="opacity: 0.5">Show Me</p>
<p style="opacity: 1">Show Me</p>

The Opacity declaration sets how opaque an element is. An opacity value of 1 means the element is fully opaque; an opacity value of 0 means an element is not at all opaque, i.e. fully transparent.This elements opacity is 0.5!
Note that both the text and the background-color are affected by the opacity level.
Which HTML attribute is used to define inline styles?

NOTE: This is objective type question, Please click question title for correct answer.
Explain about the hover element?

A hover element is activated when the user moves a pointer over the area where HTML coding is defined.This style is being generally used for highlighting any element or control.It is appended to #elementid.hover.
Which tag is used to draw a horizontal row below a text in CSS.

NOTE: This is objective type question, Please click question title for correct answer.
What are different ways to integrate a CSS into a Web page?

There are three ways to integrate CSS into a Web page.
a.) Inline: HTML elements may have CSS applied to them via the STYLE attribute.
b.) Embedded: By placing the code in a STYLE element within the HEAD element.
c.) Linked/ Imported: Place the CSS in an external file and link it via a link element.
What is the full form of CSS ?

NOTE: This is objective type question, Please click question title for correct answer.
Which is the correct CSS syntax?

NOTE: This is objective type question, Please click question title for correct answer.
How do you add a background color for all <h1> elements?

NOTE: This is objective type question, Please click question title for correct answer.
Which property is used to change the left margin of an element?

NOTE: This is objective type question, Please click question title for correct answer.
What is the use of After selector in css3?

After
selector is used to insert the content after each elements, like in this case, it will select each h1 element of the page.

<style>

h1::after{
content:"dotnetfunda"
}
</style>
<h1>learn articles in</h1>

Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories