How to make tag group with including predefined attributes, to wrap other things quickly?

Posted by jitendra on Stack Overflow See other posts from Stack Overflow or by jitendra
Published on 2010-03-23T07:10:17Z Indexed on 2010/03/23 7:53 UTC
Read the original article Hit count: 267

Filed under:
|
|
|

for example.

if i want to quickly wrap anything by this in once.

in dreamweaver or in any other free software where i can do this.

I want to select this

<p>anything can be here - content, other html tag etc.</p>

and in one shot want to wrap inside 2 divs with predefined classes

<div class="one">
      <div class="two">
<p>anything can be here - content, other html tag etc.</p>

      </div>
</div>

I have work with large amount of code and need to wrap random things in Divs with defined attributes.

© Stack Overflow or respective owner

Related posts about XHTML

Related posts about Productivity