Wrap text fields with custom HTML I have a content type with body tag. I want to add content which has a repeating HTML mark-up. 

Example:

&lt;div class = "some-class"&gt;
&lt;p&gt;Main Content 1&lt;/p&gt;
&lt;/div&gt;
&lt;div class = "some-class"&gt;
&lt;p&gt;Main Content 2&lt;/p&gt;
&lt;/div&gt;


This pattern repeats itself except for the text within the &lt;p&gt; tag. Right now I'm typing tons of repeating HTML code into the body of the content type. It would be helpful if I could just focus on the main content and not on the repeating mark-up which could save lots of time. 


Is there a way to surround fields with custom HTML tags, so that I can focus on the main content and not on the HTML mark-up?
Is there a module that I can use to do the same?
There are a number of ways you can handle this. The three best that come to mind are:


Use a theme hook template file to modify the output. You can do this at either the field level or the content type level.
Use Display Suite to create a field template.
Create a custom field formatter with Custom Formatters module. This plays nicely with display suite.


In your case Display Suite is probably overkill unless you wanted to use it for managing all your output. It’s an extremely powerful module that if implemented correctly allows you to not have to manipulate template files.

In either case I would suggest taking a good look at Display Suite as it really speeds up the theming process.