Contact Number

+91 908 908 6161

Email Address

info@darlic.com

Sign up
Login

Learn with Darlic®
  • HTML
  • CSS
  • JQuery
  • Javascript
  • PHP
  • SQL
  • Tutorials
  • Courses

Attr Selector

Attr Selector

Posted on October 21, 2015 by

CSS [attribute] Selector

The [attribute] selector is used to select elements with a specified
attribute.

Example

CSS [attribute=”value”] Selector

The [attribute="value"] selector is used to select elements with a specified
attribute and value.

Example

CSS [attribute~=”value”] Selector

The [attribute~="value"] selector is used to select elements with an attribute
value containing a specified word.

Example

CSS [attribute|=”value”] Selector

The [attribute|="value"] selector is used to select elements with the specified attribute starting with the specified value.

Example

CSS [attribute^=”value”] Selector

The [attribute^="value"] selector is used to select elements whose attribute
value begins with a specified value.

Example

Post navigation

Previous
Next

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Empty Widget Area

About Darlic®

Darlic® is innovative platform to create websites, web applications, progressive web applications, mobile applications without a pain. Darlic® is registered Trademark of OXO IT SOLUTIONS PRIVATE LIMITED.

Links

  • Home
  • About
  • Features
  • Templates
  • Career
  • Blog
  • Contact

Resources

  • Documentation
  • Resources
  • Tools
  • Bits
  • Learn
  • Ask

Email Address

info@darlic.com

Contact Number

+91 908 908 6161

Social Links

Copyright Right
  • Privacy Policy
  • Terms and Condition