Title: Parse error syntax error unexpected &#8216;&gt;&#8217; in header
Last modified: July 6, 2017

---

# Parse error syntax error unexpected ‘>’ in header

 *  Resolved [michelewelker](https://wordpress.org/support/users/michelewelker/)
 * (@michelewelker)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-header/)
 * Hello! I’m desperate for help. I added Google Adsense to my code (using tutorials,
   I have no business being in any code). After I did it, I kept getting errors.
   I went and removed it and now I’m getting a parse error. I’m guessing I removed
   the wrong portion.
 * Here is my code:
 * ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>> <head> <meta charset
   =”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content=”width=device-
   width, initial-scale=1″> <link rel=”profile” href=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
   <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
 * <?php wp_head()
    <head>
 * <body <?php body_class(); ?>>
 * I’m assuming the error is somewhere between the heads. That’s where I had Adsense.
 * Huge thanks to anyone that can help me fix it. My entire site is down!

Viewing 1 replies (of 1 total)

 *  Thread Starter [michelewelker](https://wordpress.org/support/users/michelewelker/)
 * (@michelewelker)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-header/#post-9294545)
 * I got it fixed!!!!!!

Viewing 1 replies (of 1 total)

The topic ‘Parse error syntax error unexpected ‘>’ in header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/anissa/0.0.5/screenshot.png)
 * Anissa
 * [Support Threads](https://wordpress.org/support/theme/anissa/)
 * [Active Topics](https://wordpress.org/support/theme/anissa/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/anissa/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/anissa/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [michelewelker](https://wordpress.org/support/users/michelewelker/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-in-header/#post-9294545)
 * Status: resolved