Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy "inspect element" shows different code?
    text
    copied!<p>I have a php page where I have the code posted below. My main problem was that in the header there was a line added at the top. This line was not added at the other .html files of my page that used exactly the same code. The only difference was the extension (html and php). </p> <p>I tried "inspect element" feature to see what is going on. And I can see a different code in the <code>&lt;head&gt;</code> and the <code>&lt;body&gt;</code>. </p> <p>My page code :</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;?php session_start(); include("conf.php"); $current="gallery.php" ?&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;title&gt;.......&lt;/title&gt; &lt;meta charset="utf-8"&gt; &lt;link rel="stylesheet" media="screen" href="......css"&gt; &lt;!-- JS --&gt; &lt;script src=".................."&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;!--==============================header=================================--&gt; &lt;header&gt; &lt;div class="container_12"&gt; &lt;div class="grid_12"&gt; &lt;h1&gt;&lt;img src="images/logo.png"&gt; &lt;/h1&gt; &lt;div class="menu_block"&gt; &lt;nav&gt; &lt;ul class="sf-menu"&gt; &lt;li&gt;&lt;a href="index.html"&gt;ΑΡΧΙΚΗ&lt;/a&gt; &lt;/li&gt; ... ... &lt;li&gt;&lt;a href="index-4.html"&gt;ΕΠΙΚΟΙΝΩΝΙΑ&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/header&gt; ... ... &lt;/body&gt; </code></pre> <p>What causes that ? I have the same html code (and css) in the other pages (different extension though) like this one : <a href="http://aasiskos.webpages.auth.gr/COSMOSET/index.html" rel="nofollow">HTML version</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload