标题中创建的空格

时间:2017-11-08 19:23:58

标签: php html

当我查看源代码时,我在页面顶部创建了一个空格 你知道为什么我有这个吗?

当我生成一个xml时,我有这个。我的xml是正确的。

This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

Tk的

我的代码是这样的(没有空格)

<?php
/**
* header.php
*/
use \OM\HTML;
?>
<!DOCTYPE html>

当我查看源代码时,我有这个。

<br>是为了向您展示问题,但实际上并没有。

<br>
<!DOCTYPE html>
<html dir="ltr" lang="fr">
<head>

1 个答案:

答案 0 :(得分:0)

因为您的回复率为?><!DOCTYPE html>

让它?><!DOCTYPE html>来修复

相关问题