HTML Standard: <div> tag
- <a>
- <b>, <strong>
- <br>
- <caption>, <figcaption>
- <div>
- <dl>, <dt>, <dd>
- <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
- <hr>
- <i>, <em>, <cite>, <var>
- <input>
- <img>
- <mark>
- <p>, <address>, <blockquote>
- <pre>
- <s>
- <select>, <option>
- <small>
- <span>
- <sub>
- <sup>
- <table>, <tr>, <td>, <th>
- <textarea>
- <u>, <ins>, <del>
- <ul>, <ol>, <li>
- <math>
- <meta>
- <phpdocx_bookmark>
- <phpdocx_break>
- <phpdocx_comment>
- <phpdocx_crossreference>
- <phpdocx_dateandhour>
- <phpdocx_endnote>
- <phpdocx_footer>
- <phpdocx_footnote>
- <phpdocx_formelement>
- <phpdocx_header>
- <phpdocx_heading>
- <phpdocx_image>
- <phpdocx_link>
- <phpdocx_mathequation>
- <phpdocx_mergefield>
- <phpdocx_modifypagelayout>
- <phpdocx_ole>
- <phpdocx_onlinevideo>
- <phpdocx_pagenumber>
- <phpdocx_section>
- <phpdocx_shape>
- <phpdocx_simplefield>
- <phpdocx_structureddocumenttag>
- <phpdocx_tablecontents>
- <phpdocx_tablefigures>
- <phpdocx_text>
- <phpdocx_textbox>
- <phpdocx_wordfragment>
- <phpdocx_wordml>
- <svg>
- <title>
<div> tag
Inserts a div tag.
MS Word does not count with a direct equivalent of the HTML div tags. That's why phpdocx treats them as containers to apply styles to their contents. This behavior can be modified with the parseDivs option, that allows to parse divs as paragraphs or tables.
Please refer to the HTML to Word page for more information about the available options of this tag.