1. Home
  2. Computing & Technology
  3. Web Design / HTML

:before

By , About.com Guide

:before Description:

The :before pseudo-element allows you to insert generated content before the element defined.

:before Web Browser Support:
:before in CSS Versions:
:before Examples:

Put quotes before all blockquote entities

<style>
blockquote:before { content : open-quote; }
</style>
:before Special Notes:
  • Internet Explorer does not support this pseudo-element or generated content.
More :before Information:
Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. CSS Pseudo Properties
  6. The :before Pseudo-Element - CSS 2 XHTML 1.0 HTML 4.0>

©2009 About.com, a part of The New York Times Company.

All rights reserved.