CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS content property

CSS content property used to attach content before (pseudo element :before) or after (pseudo element :after) an element.

Property Values

Properties Value Description
Syntax Selector:before { content:value )
value   URL
Allow to All Elements
Inherited No


<style type="text/css">
a:after {content: " (" attr(href) ")";}
<p><a href="http://www.way2tutorial.com">Way2Tutorial free tutorials </p>
Online Try This Code Your Self....   »