1.

The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.(a) dir(b) style(c) class(d) articleThis question was addressed to me in a national level competition.Asked question is from HTML and XHTML Element Reference in section HTML and XHTML Fundamentals of HTML

Answer»

Correct CHOICE is (b) style

To elaborate: Style attribute SPECIFIES an inline style for an element. The style attribute will override any style SET globally, e.g. styles specified in the style tag or in an external style SHEET. A self-contained content is called attribute. Class is a name given to HTML elements which can be used by CSS and JavaScript for STYLING the web pages. List of directory files is given by dir tag which is not supported in HTML5.



Discussion

No Comment Found

Related InterviewSolutions