Title: Change Div Tag to Nav Tag in Comments.php
Last modified: August 20, 2016

---

# Change Div Tag to Nav Tag in Comments.php

 *  [mooapo](https://wordpress.org/support/users/mooapo/)
 * (@mooapo)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/into-html5/)
 * Hi…
 * I was hoping someone can help me with an issue I am having converting the <div
   id=”pgnav”></div> into HTML5 <nav id=”pgnav”>…</nav>….
 * I had tried to do it just by deleting the Div Tag within the Comments.PHP and
   replacing it with a Nav Tag, it didn’t work when I checked it out in firebug….
   Anyone thing they can help?
 *     ```
       <div class="navigation">
       		<div class="next-posts"><?php previous_comments_link() ?></div>
       		<div class="prev-posts"><?php next_comments_link() ?></div>
       	</div>
       ```
   

The topic ‘Change Div Tag to Nav Tag in Comments.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [mooapo](https://wordpress.org/support/users/mooapo/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/into-html5/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
