Ways to select HTML Tag Instances

Explain the different ways in order to select the HTML Tag Instances.

E

Expert

Verified

If you describe a style property for the HTML tag, this definition will apply to all the instances of that tag within the whole document. If you wish to apply several style property values to various instances of same tag, you require utilizing the tag selection mechanisms described in the CSS:

a) Tag Selector – It selects all the instances of HTML tag.

b) Contextual Selector - It selects all the instances of a HTML tag nested within the other specified tags.

c) Class Selector - It selects all the HTML tags which matches the class name described in the tag attribute of class="class_name".

d) ID Selector - It selects all the HTML tags which matches id name described within the tag attribute of id="id_name".

e) Group Selector - It selects several HTML tags.

f) Mixed Selector - It selects instances of the HTML tags mixed with the other selectors.

   Related Questions in Programming Languages

  • Q : Define the term Key value Define the

    Define the term Key value: The object employed to produce an associated hash code for look-up in an associative data structure.

  • Q : Define the term Dynamic type Define the

    Define the term Dynamic type: This type of an object is the name of the class employed to construct it.

  • Q : What is an Anonymous array Anonymous

    Anonymous array: It is an array formed without an identifier. The anonymous array is generally formed as an actual argument, for example:

    // generate an anonymous array of integers.
        YearlyRainfall y2k = new YearlyRai

  • Q : Task decomposition and Data

    Discuss the idea of task decomposition and data decomposition within the perspective of parallel programming.

  • Q : Problem on three dimensional diagram of

    Create a three dimensional diagram of function z = (x-2)2 + (y-3)3.

  • Q : State Sub type Sub type: It is a type

    Sub type: It is a type with a parent super type. The sub-type or super-type relationship is more common than the sub-class or super-class relationship. A class which implements an interface is a sub type of interface. An interface which expands the ot

  • Q : What is Bookmark Bookmark : It is

    Bookmark: It is employed by a Web browser to memorize details of a Uniform Resource Locator (URL).

  • Q : Explain different cursors types in ADO

    What are the different cursors types in ADO and illustrated them?

  • Q : Programming with C# QUESTION 1      

    QUESTION 1      

    The following UML diagram describes an abstract class Customer. This class is to be used as part of a Company's inventory system. The inventory system will contain many different types of customers.  A separate s

  • Q : Explain Imperative programming

    Imperative programming: The style of programming generally related with languages such as FORTRAN, C, Pascal and so forth. Imperative programming is differentiated from functional programming in that the previous is strongly tied to the idea of variab

2015 ©TutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.