Title: empty lines before source doctype
Last modified: August 19, 2016

---

# empty lines before source doctype

 *  Resolved [markoburns](https://wordpress.org/support/users/markoburns/)
 * (@markoburns)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/empty-lines-before-source-doctype/)
 * I notice when I view html source I have a lot of blank lines before it starts
   with the doctype declaration. ( about 23 blank lines) (default kubrick template)
 * My header php file seems fine though and starts:
 *     ```
       <?php
       /**
        * @package WordPress
        * @subpackage Default_Theme
        */
       ?>
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       ```
   
 * and index.php just has:
 *     ```
       <?php
       /**
        * @package WordPress
        * @subpackage Default_Theme
        */
       get_header(); ?>
       ```
   
 * Any idea where this empty space resides and where is would be being created from
   so I can delete it?

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

 *  Thread Starter [markoburns](https://wordpress.org/support/users/markoburns/)
 * (@markoburns)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/empty-lines-before-source-doctype/#post-1475071)
 * Found it – in functions.php
 *  [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * (@yashmistrey)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/empty-lines-before-source-doctype/#post-1475351)
 * i also having same problem
 * i couldn’t find any blank lines in header.php or function.php
 * how to find that please see here my site [http://alturl.com/kcuff](http://alturl.com/kcuff)

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

The topic ‘empty lines before source doctype’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [yashmistrey](https://wordpress.org/support/users/yashmistrey/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/empty-lines-before-source-doctype/#post-1475351)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
