The image cannot be displayed because it contains errors

前端 未结 10 2186
后悔当初
后悔当初 2020-11-27 20:35

Why is this code not working ?



    

        &l         
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-5408099190056760"
     data-ad-slot="7305827575"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>        </div>
      </div>
      
      <div class="fly-panel detail-box" id="flyReply">
        <fieldset class="layui-elem-field layui-field-title" style="text-align: center;">
          <legend>10条回答</legend>        </fieldset>

        <ul class="jieda" id="jieda">
                    <li data-id="111" class="jieda-daan">
            <a name="item-1111111111"></a>
            <div class="detail-about detail-about-reply">
                         <a class="fly-avatar" href="">
                <img src="https://www.e-learn.cn/qa/data/avatar/000/00/01/small_000000112.jpg" alt=" 离开以前 ">
              </a>
              <div class="fly-detail-user">
                <a href="" class="fly-link">
                  <cite> 离开以前</cite>
                                             
                </a>
                
                <span>(楼主)</span>
            
              </div>              <div class="detail-hits">
                <span>2020-11-27 20:44</span>
              </div>

            </div>
            <div class="detail-body jieda-body photos">
              <p>          
<p>You should output <em>only</em> the image. You are outputting a bunch of tags. Specifically</p>

<blockquote>
  <p><!DOCTYPE HTML PUBLIC "-//W3C//DTD
  HTML 4.01 Transitional//EN"> 
      </p>

<pre><code>    <title>


and then the image as a binary. If you want to see this, wget the page from your server and try opening it in an editor. Your code should start at the .

Removing the header gets rid of the notification to the client that this is an image so it will try out print it out as text.

提交回复
热议问题