Title: HTML5 head and body
Last modified: August 20, 2016

---

# HTML5 head and body

 *  [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/)
 * I am using Arjuna-X which i know is now HTML5. I am trying to implement the soundcloud
   header feature, [http://stratus.heroku.com/](http://stratus.heroku.com/) , but
   i am struggling to find the <head> and </body> part in editor to place the code.
   Would i put it at the beginning/end of the header.php? Thanks for the help

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [stelasim](https://wordpress.org/support/users/stelasim/)
 * (@stelasim)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253739)
 * hi,how i can find site uri code?not url 🙂
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253740)
 * Im not sure i even understand what you’re saying… anybody else? Thanks.
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253754)
 * The <head> tag is usually in your theme’s header.php file and the closing </body
   > tag is usually in the footer.php file. It can be different in various theme’s
   though. It’s usually better to [create a child theme](http://codex.wordpress.org/Child_Themes)
   and do any alterations there.
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253756)
 * i use a child theme but now (with HML5, i assume) my header has stuff like this`
   <?php $arjunaOptions = arjuna_get_options(); ?>
    <div class=”header”> <?php if(
   $arjunaOptions[‘menus’][‘1’][‘enabled’]): ?>` etc… No more head and body. I guess
   im just new to it, maybe i can just place the code at the beginning and end and
   see if it works..
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253758)
 * Looking at Arjuna-X’s code, the opening <head> tag is on the 4th line of header.
   php:
 *     ```
       <?php $arjunaOptions = arjuna_get_options(); ?>
       <!DOCTYPE HTML>
       <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
       <head>
       <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>"  />
       ...all the subsequent code in the file...
       ```
   
 * and the closing </body> tag is on the second to last line of footer.php:
 *     ```
       ...all the previous code in the file...
       <?php wp_footer(); ?>
       </body>
       </html>
       ```
   
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253765)
 * whoa thanks i got it to work. Thanks.. Now i have to figure out how to slide 
   my entire page down a little so the header is still viewable, right now the soundcloud
   bar is covering half the header…
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253769)
 * Usually you can add some space using `margin-top` or `padding-top` on the wrap,
   body, or header of your site using CSS. Without a link to the site to see the
   problem, it would be difficult to suggest anything more specific.
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253775)
 * i think i will just leave it on bottom and remove my wibiya toolbar.. here’s 
   the site if you want to see, [http://theinfinitygroup.us/](http://theinfinitygroup.us/)
 * i might consider adding the padding but might not be capable of it..
 * Thanks for your help
 *  [Big Bagel](https://wordpress.org/support/users/big-bagel/)
 * (@big-bagel)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253778)
 * In your child’s CSS file you have:
 *     ```
       .pageContainer {
           text-align:left;
           color:#FFFFFF;
           width:980px;
           margin:0 auto;
           position:relative;
           z-index:1;
       }
       ```
   
 * If you change the margin part to:
 * `margin: 10px auto 0;`
 * it’ll add 10px to the top. You can change 10px to whatever size you need. I kinda
   like the music player where it is right now though.
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253783)
 * I kinda like it there too, although i had to do away with my wibiya toolbar. 
   No big deal though. You have been most helpful, thank you.
 *  Thread Starter [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * (@jwilliamsua)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253816)
 * actually the margin worked perfectly, thanks for all your help today. I am still
   learning, you were very helpful..

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘HTML5 head and body’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [jwilliamsua](https://wordpress.org/support/users/jwilliamsua/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/html5-3/#post-2253816)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
