About: CSS ID Selectors   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

In an HTML document, CSS ID selectors match an element based on the contents of that element's id attribute, which must match exactly the value given in the selector. The selector is written by first using the node name of the element, followed by a hash sign (#), then the name of the id. No white spaces are allowed between those three elements. For example, a with an id of id1 would be written as span#id1. The selector may also be written to identify only an id, not an id which matches the correct element. Example: #id1.

AttributesValues
rdfs:label
  • CSS ID Selectors
rdfs:comment
  • In an HTML document, CSS ID selectors match an element based on the contents of that element's <a href="/mediawiki/Id" title="Id">id</a> attribute, which must match exactly the value given in the selector. The selector is written by first using the node name of the element, followed by a hash sign (#), then the name of the id. No white spaces are allowed between those three elements. For example, a <a href="/mediawiki/Span" title="Span"><span></span></a> with an id of id1 would be written as span#id1. The selector may also be written to identify only an id, not an id which matches the correct element. Example: #id1.
dcterms:subject
abstract
  • In an HTML document, CSS ID selectors match an element based on the contents of that element's <a href="/mediawiki/Id" title="Id">id</a> attribute, which must match exactly the value given in the selector. The selector is written by first using the node name of the element, followed by a hash sign (#), then the name of the id. No white spaces are allowed between those three elements. For example, a <a href="/mediawiki/Span" title="Span"><span></span></a> with an id of id1 would be written as span#id1. The selector may also be written to identify only an id, not an id which matches the correct element. Example: #id1. Example: Title This text has a blue bg. This one has a red one. This one has a green one. This has a transparent bg.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software