Displaying HTML code in view

<% myfile.each do |line| %>
   <li> <%= line %></li>

Solution :-
<li> <%=h line %> >/li>

Siddick Ebramsha wrote:

<% myfile.each do |line| %>
   <li> <%= line %></li>

Solution :-
<li> <%=h line %> </li>

Siddick Ebramsha wrote:

<% myfile.each do |line| %>
   <li> <%= line %></li>

Solution :-
<li> <%=h line %> >/li>

<% end%>
</ul>

Thank You...It worked..