# Content\_tag doubts

**URL:** <https://www.ruby-forum.com/t/content-tag-doubts/174789>\
**Category:** Ruby\
**Created:** [September 2, 2009, 9:50am UTC](https://www.ruby-forum.com/t/content-tag-doubts/174789 "2009-09-02T09:50:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldoitalo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Post date:** [September 2, 2009, 9:50am UTC](https://www.ruby-forum.com/t/content-tag-doubts/174789/1 "2009-09-02T09:50:59Z")

</div>

I have of the doubts of use content\_tag, if i write this:

\<% for object in @object %\>

- \<%= object.title %\> 
\<% end %\>

using content\_tag:

\<%  
for object in @object  
content\_tag :li do  
concat object.title  
end  
end  
%\>

what is the real advantages?  
which employs less resources to interpreter?

thanks
