=content_tag :p, "Test 1", :class => 'test', :id => "test1" =content_tag :p, "Test 2" =content_tag(:p, :class => 'test', :id => 'test3') do span Test 3 =content_tag(:p) do span Test 4