Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Pseudo Classes

Pseudo classes function similarly to pseudo elements; however, pseudo classes do not need to be linked to a specific physical element. For example, if you wanted to use the pseudo class to make all the links in your document bold and 14 point, you could use the following:

:link {font-style: bold; font-size: 14pt} 

The pseudo classes function similarly to the pseudo elements; however, they do not need to be linked to real elements in order to be used in a style sheet.

  • :link— The :link pseudo class refers to all hypertext links in the document.

  • :visited— The :visited pseudo class refers to all hypertext links in the document which have already been visited by the user.

  • :active— The :active pseudo class refers to the hypertext link ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book