Kan iemand mij misschien duidelijk uitleggen wat het verschil is tussen element[attribute~="value"] en element[attribute*="any part of the value"]. In het boek staat twee voorbeelden met als uitleg:
img[title~="grade"] met uitleg: "The following example looks for the word “grade” in
the title, so images with the title value “first grade” and “second grade”
would be selected."
img[title*="February"] met uitleg: "This rule selects
any image that contains the word “February” somewhere in its title."
Voor zover ik heb begrepen, is de uitwerking van beide hetzelfde. Kan iemand mij duidelijk uitleggen waar het verschil in zit??? Alvast bedankt.
img[title~="grade"] met uitleg: "The following example looks for the word “grade” in
the title, so images with the title value “first grade” and “second grade”
would be selected."
img[title*="February"] met uitleg: "This rule selects
any image that contains the word “February” somewhere in its title."
Voor zover ik heb begrepen, is de uitwerking van beide hetzelfde. Kan iemand mij duidelijk uitleggen waar het verschil in zit??? Alvast bedankt.