Home » HTML » Html miscellaneous » Question
  1. The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.
    1. style
    2. dir
    3. article
    4. class
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.